Looking for the v10 manual? Visit our new user's guide!
 
Search Descriptions Version
 
 
This article applies to: ML v7, ML8, MultiStore

Unable to load AspDotNetStorefront Admin when using IIS 7.0


Symptoms
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:
Line 43: {
Line 44: SetTemplate("main.ascx");
Line 45: base.OnInit(e);
Line 46: }
Line 47:

Source File: g:\LiveWebSites\CodomaticLive\admin\Aspdnsf\default.aspx.cs Line: 45

Stack Trace:



[NullReferenceException: Object reference not set to an instance of an object.]
AspDotNetStorefront.SkinBase.OnInit(EventArgs e) +1251
AspDotNetStorefrontAdmin._default.OnInit(EventArgs e) in
g:\LiveWebSites\CodomaticLive\admin\Aspdnsf\default.aspx.cs:45
System.Web.UI.Control.InitRecursive(Control namingContainer) +321System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +834

Cause
Running the website under Integrated Pipeline application pool in IIS 7.0

Solution
AspDotNetStorefront will not run under Integrated Pipeline mode in some environments.  You'll have to change the application pool to Classic to properly load the AspDotNetStoreFront Admin page.

Open up your IIS 7.0 and navigate to the virtual directory tab.  Under application setting section, go to application pool drop down list.  Make sure that you selected Classic instead of Integrated Pipeline/DefaultAppPool.