Install problems with MySql (local db) iis 6.0 3.5 SP1

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.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

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.

This thread is closed to new posts. You must sign in to post in the forums.
2/1/2010 5:06:59 PM
Gravatar
Total Posts 2

Install problems with MySql (local db) iis 6.0 3.5 SP1

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

2/1/2010 5:14:38 PM
Gravatar
Total Posts 2

Re: Install problems with MySql (local db) iis 6.0 3.5 SP1

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.

Joe

2/2/2010 12:40:18 AM
Gravatar
Total Posts 3

Re: Install problems with MySql (local db) iis 6.0 3.5 SP1

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.

2/2/2010 9:27:26 AM
Gravatar
Total Posts 18439

Re: Install problems with MySql (local db) iis 6.0 3.5 SP1

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,

Joe

2/2/2010 9:38:07 AM
Gravatar
Total Posts 3

Re: Install problems with MySql (local db) iis 6.0 3.5 SP1

i installed aiiready .net sp1 before only  but same error is repeating.

2/2/2010 9:55:36 AM
Gravatar
Total Posts 18439

Re: Install problems with MySql (local db) iis 6.0 3.5 SP1

I recommend install it again, the method it complains about works in .NET 3.5 SP1.

You must sign in to post in the forums. This thread is closed to new posts.