Raggers

I installed Commerce Server 2007 Developer Edition with service pack 1 on Windows Vista Business (IIS 7.0). SQL Express With Advanced series .

and when trying to open this Starter site on same system I get a error

[HttpException (0x80004005): Request in this context is not available]
System.Web.HttpContext.get_Request() +3521301
Microsoft.CommerceServer.Runtime.Orders.CommerceOrderModule.Init(HttpApplication appInstance) +148
System.Web.HttpApplication.InitModulesCommon() +66
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1006
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +241
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +114
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +746

When I take out

<add name="CommerceOrder" type="Microsoft.CommerceServer.Runtime.Orders.CommerceOrderModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler"/>

from <modules> section

Application is loading but I get a new Exception

NullReferenceException: Object reference not set to an instance of object.]
CommerceComponents.Helpers.BasketHelper..ctor(String basketName) +137
CommerceComponents.BasketSummary.get_Helper() +43
CommerceComponents.BasketSummary.CreateChildControls() +31
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +50
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
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

I followed each and every step given in installation but of no use

Is there any workaround




Re: Commerce Server 2007 Cannot Open Starter Site

J-P Soulieres - Cactus Commerce

Not sure if this is related to your problem, but are your running the Dev Edition of Commerce Server

I beleive it is the only edition that is currently supported to run on Vista.

Removing the Http Order module from the Config will cause the Order Context to not get created. So the second error makes sense if you removed that Http Module from the web.config. Focus should be on the first error.

J-P





Re: Commerce Server 2007 Cannot Open Starter Site

Raggers

Yes you are right focus should be on first error .I think I have no problems with other http modules except CommerceOrder .I guess

<system.webServer>

<modules>

<add name="CommerceApplication" type="Microsoft.CommerceServer.Runtime.CommerceApplicationModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler"/>

<add name="CommerceOrder" type="Microsoft.CommerceServer.Runtime.Orders.CommerceOrderModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler"/>

<add name="CommerceCatalog" type="Microsoft.CommerceServer.Runtime.Catalog.CommerceCatalogModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler"/>

<add name="CommerceProfile" type="Microsoft.CommerceServer.Runtime.Profiles.CommerceProfileModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler"/>

<add name="CommerceExpressionEvaluator" type="Microsoft.CommerceServer.Runtime.Targeting.CommerceExpressionModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler"/>

<add name="CommerceCache" type="Microsoft.CommerceServer.Runtime.Caching.CommerceCacheModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler"/>

<add name="CommerceContentSelection" type="Microsoft.CommerceServer.Runtime.Targeting.CommerceContentSelectionModule, Microsoft.CommerceServer.Runtime, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler"/>

</modules>

<validation validateIntegratedModeConfiguration="false"/>

</system.webServer>

Any suggestions would be greatly appreciated ...........





Re: Commerce Server 2007 Cannot Open Starter Site

David Lott - MSFT

Sounds like you're running with your app pool in Managed pipeline mode instead of Classic. See http://download.microsoft.com/download/3/a/4/3a46267f-9640-4623-86a1-c63bbfea9e1d/Quick_Install_Guide.htm#Assign_Permissions_to_the_IIS_Worker_Process

for details.

Hope this helps,

David





Re: Commerce Server 2007 Cannot Open Starter Site

Raggers



Thanks for the solution ......in normal installation guide they asked to use integrated mode but in quick installation they asked to use classic .However it worked thanks for that