Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.
If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
You may also want to review the installation or upgrading documentation.
Hello I'm having a problem getting started. I have checked data folder has write permissions I have modified the user and web config folders. (seeDB string below)
<add key="MySqlConnectionString" value="Server=localhost;Database=mysql;Uid=root;Pwd=XXXXXXX;Charset=utf8;" />
I'm getting "Object reference not set to an instance of an object"
This is what the currentlog.config file is showing..
2010-02-01 14:29:22,421 ERROR mojoPortal.Web.Global - 192.168.24.59-en-US - /setup/default.aspx System.NullReferenceException: Object reference not set to an instance of an object. at MySql.Data.MySqlClient.MySqlPacket.ReadString() at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.NativeDriver.Open() at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection() at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() at MySql.Data.MySqlClient.MySqlPool.GetConnection() at MySql.Data.MySqlClient.MySqlConnection.Open() at MySql.Data.MySqlClient.MySqlHelper.ExecuteNonQuery(String connectionString, String commandText, MySqlParameter[] parms) at mojoPortal.Data.DBTaskQueue.DeleteCompleted() at mojoPortal.Business.TaskQueue.DeleteCompleted() at mojoPortal.Web.WebTaskManager.StartOrResumeTasks(Boolean appWasRestarted) at mojoPortal.Web.Global.StartOrResumeTasks() at mojoPortal.Web.Global.Application_Start(Object sender, EventArgs e)
This is a new install. and I have tried various modifications to both the web and user config files. I have ported the Dlls for mysql into the \bin
Any ideas?
Thank you!
Joe
Found it! (Of course the last thing I thought it would be... ASPNET user did nto have write access.
I would recommend maybe a indexed search of the forum? just an idea.
Server Error in '/Mojo' Application. Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. 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.TypeLoadException: Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[TypeLoadException: Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.] mojoPortal.Web.UI.ScriptLoader.SetupBrowserSpecificScripts() +0 mojoPortal.Web.UI.ScriptLoader.SetupScripts() +288 mojoPortal.Web.UI.ScriptLoader.OnPreRender(EventArgs e) +127 System.Web.UI.Control.PreRenderRecursiveInternal() +86 System.Web.UI.Control.PreRenderRecursiveInternal() +170 System.Web.UI.Control.PreRenderRecursiveInternal() +170 System.Web.UI.Control.PreRenderRecursiveInternal() +170 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
iam gerring folling aboue error.please tell me how solve this problem
in data base i stored my database name as mojo
it is in windows authentication mode
when i run application in iis, tables are created in mojo data base
but when i run application in visual studiow is getting aboue error.
Hi,
I do not think you really have SP1 installed for .NET 3.5, this error only happens if you don't have the SP1. If you install SP1 for 3.5 .NET it will resolve this error.
Hope it helps,
i installed aiiready .net sp1 before only but same error is repeating.
I recommend install it again, the method it complains about works in .NET 3.5 SP1.