Problem installing on 2008 server 64bit and IIS7

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.
6/28/2011 1:03:15 PM
Gravatar
Total Posts 10

Problem installing on 2008 server 64bit and IIS7

I used the quick installation guide and am getting this error when navigatin to the /setup/default.aspx page:

 


Format of the initialization string does not conform to specification starting at index 0.
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.ArgumentException: Format of the initialization string does not conform to specification starting at index 0.

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:

 

[ArgumentException: Format of the initialization string does not conform to specification starting at index 0.]
   mojoPortal.Web.WebTaskManager.StartOrResumeTasks(Boolean appWasRestarted) +595
   mojoPortal.Web.Global.StartOrResumeTasks() +267
   mojoPortal.Web.Global.Application_Start(Object sender, EventArgs e) +273

[HttpException (0x80004005): Format of the initialization string does not conform to specification starting at index 0.]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +4179473
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +205
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +336
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +350
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +382

[HttpException (0x80004005): Format of the initialization string does not conform to specification starting at index 0.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11318198
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4348404
 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.5446; ASP.NET Version:2.0.50727.5420 

 

 

Any help would be appreciated.

6/29/2011 6:27:32 AM
Gravatar
Total Posts 18439

Re: Problem installing on 2008 server 64bit and IIS7

Hi,

Which mojoPortal package did you install? The error indicates it is running under .NET 2.0/3.5. I would recommend use our package for .NET 4 and configure it with a .NET 4 application pool.

See also Manual Installation Recipe for IIS 7.x and .NET 4.

Hope that helps,

Joe

6/29/2011 2:06:55 PM
Gravatar
Total Posts 10

Re: Problem installing on 2008 server 64bit and IIS7

Joe,

 

I tried your suggestion with .net 4.0 and IIS7 and I followed the instructions.  This is what I am still getting:

 

Format of the initialization string does not conform to specification starting at index 0.

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.ArgumentException: Format of the initialization string does not conform to specification starting at index 0.

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:

 

[ArgumentException: Format of the initialization string does not conform to specification starting at index 0.]
   mojoPortal.Web.WebTaskManager.StartOrResumeTasks(Boolean appWasRestarted) +570
   mojoPortal.Web.Global.StartOrResumeTasks() +250
   mojoPortal.Web.Global.Application_Start(Object sender, EventArgs e) +238

[HttpException (0x80004005): Format of the initialization string does not conform to specification starting at index 0.]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +3985477
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +191
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +325
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +407
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +375

[HttpException (0x80004005): Format of the initialization string does not conform to specification starting at index 0.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11524352
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4782309


 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1 any other suggestions?

6/29/2011 2:27:43 PM
Gravatar
Total Posts 10

Re: Problem installing on 2008 server 64bit and IIS7

Joe,

Also, what I changed in the user.config file was my mssql connection string and this line from sqlite to mssql:

<add key="MSSQLConnectionString" value="defaultdblocation" />

 

 

6/30/2011 8:47:26 AM
Gravatar
Total Posts 18439

Re: Problem installing on 2008 server 64bit and IIS7

That is the problem, you can't use that setting with MSSQL, it needs to be a connection string to a SQL Server or SQL Express database. SQLite is different because it is a file based database. So the error is because your connection string doesn't even resemble the expected format.

Hope that helps,

Joe

6/30/2011 10:29:34 AM
Gravatar
Total Posts 10

Re: Problem installing on 2008 server 64bit and IIS7

Joe,

Thanks again.  I think we are getting closer.  I have the site in a folder on the C: drive called Intranet.  In IIS i also created a site called Intranet which points to that folder.

So the url I am using on the same server that is hosting the site is:

http://localhost/Intranet/Default.aspx

Here is what I am not getting when going to that page  (I am getting page not found):

Skip over navigation

- Site Map

- Search

We are sorry but we could not find the page you are looking for.  Please try the Site Map.

 

If I click on the site map link the url it is giving me is http://localhost/SiteMap.aspx

 

Don't think this is right.  What am I doing wrong?  Thanks for your help

 

 

 

6/30/2011 11:56:30 AM
Gravatar
Total Posts 10

Re: Problem installing on 2008 server 64bit and IIS7

Joe,

 

I figured it out...was using the wrong url

6/30/2011 11:56:53 AM
Gravatar
Total Posts 10

Re: Problem installing on 2008 server 64bit and IIS7

works beautifully now!! Thank you

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