IIS7 Migrated Config Not Working

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.
7/11/2008 5:00:08 PM
Gravatar
Total Posts 9

IIS7 Migrated Config Not Working

 

I had my site (prebuilt/downlaoded SQLite edition) running fine on IIS6. I copied everything to a new IIS7 server, migrated the config, saw this:

 

C:\> %SystemRoot%\system32\inetsrv\appcmd migrate config "www.mysite.com"
Successfully migrated section "system.web/httpModules".
Successfully migrated section "system.web/httpHandlers".

 

And now the site says this when the home page is hit:

 

Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.

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:


[NullReferenceException: Object reference not set to an instance of an object.]
System.Web.HttpApplication.set_AsyncResult(HttpAsyncResult value) +40
System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +95
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +436

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434

7/11/2008 5:03:04 PM
Gravatar
Total Posts 18439

Re: IIS7 Migrated Config Not Working

Hi,

Currently to run mojoportal in IIS 7 you need to use a web site configured with the "Classic" app pool.

I'm running it on Vista with no problems.

Hope it helps,

Joe

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