Thank you you for your recomendation, but i do not find msbuild in my installation so what i did was the next:
I opened the solution with Visual C# developer express edition and i built the solution, everything was built but not the mojoportal.web.csproj, i installed sharpdevelop and i opened the solution again and i built the solution and everything was built, a note here is that i can not to build the solution with sharpdevelop without using visual C# developer express edition before.
I have installed Mysql 4.1, i created the database mojoportal and the user mojo and pass mojo and i created the tables with the script provided with mojoportal.
My operating system is Windows XP Professional, service pack 2
I edited web.config and set the culture and database settings
<add name="MySQLConnectionString"
connectionString="server=localhost;Database=mojoportal;User ID=mojo;Password=mojo"
providerName="MySql.Data.MySqlClient" />
The problem begins when i try to open the address http://localhost/mojoportal, i get the error:
Server Error in '/mojoportal' Application.
Unable to cast object of type 'System.Byte[]' to type 'System.IConvertible'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidCastException: Unable to cast object of type 'System.Byte[]' to type 'System.IConvertible'.
Source Error:
Line 100: Line 101: if ( serverProps.Contains( "max_allowed_packet" )) Line 102: maxPacketSize = Convert.ToInt64( serverProps["max_allowed_packet"] ); Line 103: } Line 104:
|
Source File: e:\Desarrollo\PuntoNet\Mono\Projects\mojoportal\MySQLConnector\mysqlclient\nativedriver.cs Line: 102
Stack Trace:
[InvalidCastException: Unable to cast object of type 'System.Byte[]' to type 'System.IConvertible'.] System.Convert.ToInt64(Object value) +15 MySql.Data.MySqlClient.NativeDriver.Configure(MySqlConnection connection) in e:\Desarrollo\PuntoNet\Mono\Projects\mojoportal\MySQLConnector\mysqlclient\nativedriver.cs:102 MySql.Data.MySqlClient.MySqlConnection.Open() in e:\Desarrollo\PuntoNet\Mono\Projects\mojoportal\MySQLConnector\mysqlclient\Connection.cs:300 MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(String connectionString, String commandText, MySqlParameter[] commandParameters) in e:\Desarrollo\PuntoNet\Mono\Projects\mojoportal\MySQLConnector\mysqlclient\MySqlHelper.cs:272 MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(String connectionString, String commandText) in e:\Desarrollo\PuntoNet\Mono\Projects\mojoportal\MySQLConnector\mysqlclient\MySqlHelper.cs:258 mojoPortal.Data.dbPortal.SiteSettings_GetSiteList() in e:\Desarrollo\PuntoNet\Mono\Projects\mojoportal\MySQLData\dbPortal.cs:2044 mojoPortal.Business.SiteSettings.SiteCount() in e:\Desarrollo\PuntoNet\Mono\Projects\mojoportal\Business\SiteSettings.cs:1014 mojoPortal.Web.Global.Application_Start(Object sender, EventArgs e) in e:\Desarrollo\PuntoNet\Mono\Projects\mojoportal\Web\Global.asax.cs:133
|
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Well, what i did here was to comment the line because i set a value to the variable max_allowed_packet but i got the same error, i do not know if is there something to fix in the mysql driver?, i thought it could be interesting for you.
After this, now i have my new mojoportal working, but i do not have tested the functionality still.