Page 1 of 1

Error in install

Posted: Thu Oct 22, 2009 8:24 am
by jpopowski1
I am trying to install AC.

Steps taken to date
1. Load the OS (Win2003 server)
2. Load ASP.NET 2.0
3. Load the AJAX routines
4. Unzip the AC stuff into D:\ac
5. Use IE to go to 127.0.0.1/install/default.aspx

I get this error

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.]
CommerceBuilder.Services.AbleCommerceHttpModule.Init(HttpApplication context) +63
System.Web.HttpApplication.InitModulesCommon() +66
System.Web.HttpApplication.InitModules() +46
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +701
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +281
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +118
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +290




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

I'm mystified because I used the same procedure on another machine, and it's fine.

Re: Error in install

Posted: Thu Oct 22, 2009 8:37 am
by mazhar
Information you posted is not that helpful. Better turn on debug mode to get detailed information about error. Edit your website/web.config file and enable debug mode and then try to reproduce the case. For this locate following code line

Code: Select all

<compilation debug="false" strict="false" explicit="false">
and update it as below

Code: Select all

<compilation debug="true" strict="false" explicit="false">

Re: Error in install

Posted: Thu Oct 22, 2009 9:49 am
by jpopowski1
When I turn on debug, restart IIS www publishing service, clear the temp files in IE, restart IE I still get

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.]
CommerceBuilder.Services.AbleCommerceHttpModule.Init(HttpApplication context) +61
System.Web.HttpApplication.InitModulesCommon() +65
System.Web.HttpApplication.InitModules() +43
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +729
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +298
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +289




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