{"id":3760,"date":"2014-03-30T05:22:05","date_gmt":"2014-03-30T05:22:05","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/error-in-asp-net-sample-sitelet-of-mojave-collection-of-common-programming-errors\/"},"modified":"2014-03-30T05:22:05","modified_gmt":"2014-03-30T05:22:05","slug":"error-in-asp-net-sample-sitelet-of-mojave-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/error-in-asp-net-sample-sitelet-of-mojave-collection-of-common-programming-errors\/","title":{"rendered":"Error in ASP.net sample sitelet of Mojave-Collection of common programming errors"},"content":{"rendered":"<p>An exception of type &#8216;Microsoft.Commerce.Providers.Exceptions.ContextCreationException&#8217; occurred and was caught.<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>06\/17\/2009 15:07:03<\/p>\n<p>Type : Microsoft.Commerce.Providers.Exceptions.ContextCreationException, Microsoft.Commerce.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35<\/p>\n<p>Message : Configuration specifies useSharedCommerceContexts=true however this is only valid for a Commerce Server enabled web site runtime environment.<\/p>\n<p>Source : Microsoft.Commerce.Providers<\/p>\n<p>Help link :<\/p>\n<p>Data : System.Collections.ListDictionaryInternal<\/p>\n<p>TargetSite : Microsoft.CommerceServer.Runtime.Orders.OrderContext get_Item(System.String)<\/p>\n<p>Stack Trace : at Microsoft.Commerce.Providers.ContextProviders.Shared.OrderContextProvider.get_Item(String siteName)<\/p>\n<p>at Microsoft.Commerce.Providers.CSHelpers.OrderHelper.GetBasketByName(String siteName, String userId, String basketName)<\/p>\n<p>at Microsoft.Commerce.Providers.Components.BasketQueryProcessor.ExecuteBasketQuery(CommerceEntity modelSearch, String siteName)<\/p>\n<p>at Microsoft.Commerce.Providers.Components.BasketQueryProcessor.ExecuteQuery(CommerceQueryOperation queryOperation, OperationCacheDictionary operationCache, CommerceQueryOperationResponse response)<\/p>\n<p>at Microsoft.Commerce.Providers.Components.OperationSequenceComponent.Execute(CommerceOperation operation, OperationCacheDictionary operationCache, CommerceOperationResponse response)<\/p>\n<p>at Microsoft.Commerce.Broker.OperationSequence.ExecuteComponentTree(List`1 executionTreeList, CommerceOperation operation, OperationCacheDictionary operationCache, CommerceOperationResponse response)<\/p>\n<p>at Microsoft.Commerce.Broker.OperationSequence.Execute(CommerceOperation operation)<\/p>\n<p>at Microsoft.Commerce.Broker.MessageHandler.ProcessMessage(String messageHandlerName, CommerceOperation operation)<\/p>\n<p>at Microsoft.Commerce.Broker.OperationService.InternalProcessRequest(CommerceRequest request)<\/p>\n<p>at Microsoft.Commerce.Broker.OperationService.ProcessRequest(CommerceRequest request)<\/p>\n<p>Additional Info:<\/p>\n<p>MachineName : XXXXXXXXXX<\/p>\n<p>TimeStamp : 6\/17\/2009 7:07:03 PM<\/p>\n<p>FullName : Microsoft.Commerce.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35<\/p>\n<p>AppDomainName : \/LM\/W3SVC\/2050267328\/ROOT-1-128897391039513208<\/p>\n<p>ThreadIdentity : XXX\\xxxxxxx<\/p>\n<p>WindowsIdentity :XXX\\xxxxxx<\/p>\n<p>What other things need to be changed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An exception of type &#8216;Microsoft.Commerce.Providers.Exceptions.ContextCreationException&#8217; occurred and was caught. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- 06\/17\/2009 15:07:03 Type : Microsoft.Commerce.Providers.Exceptions.ContextCreationException, Microsoft.Commerce.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 Message : Configuration specifies useSharedCommerceContexts=true however this is only valid for a Commerce Server enabled web site runtime environment. Source : Microsoft.Commerce.Providers Help link : Data : System.Collections.ListDictionaryInternal TargetSite : Microsoft.CommerceServer.Runtime.Orders.OrderContext get_Item(System.String) Stack Trace : at [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3760","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3760"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3760\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3760"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3760"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}