Error: StoreObject is not found in the Commerce Server metadata
ravikanth | April 2, 2009One of my friend was able to unpack csharp site on commerce server 2009 box but when he tries to open the site he was getting following error.
|
Log Name: Application |
One thing we should keep in mind that CSharp.pub is for CS2007 and as it is it will not work in CS2009 and this pup does not contains information for “Store Object”, “VirtualEarthConfig” & “TargetingContext”. Commerce Server 2009 has provided a separate pub similar to CSharp.pub. the pub name is “MicrosoftCommerceDefaultSiteNoData.pup” or “MicrosoftCommerceDefaultSiteWithSampleData.pup”. The only difference between these two pubs is the first pub imports only schema and the other one imports schema & data.
If you are developing a new asp.net website on top of CS2009, the new pubs will not create asp.net website for you. In that context we can use Csharp.pub file to create CSharp site only. For that open commerce server manager, right click on applications folder in newly created site and select “Add Application”
After selecting pub file, from the selected applications, select “CSharpsite” checkbox and get the asp.net site installed.