SharePointCommerceServicesConfiguration tool is nice tool and helped us not to update the configuration settings on multiple locations. By default it is creating commerce site provided by Microsoft. Can I create a new MOSS site with the commerce server database I have? and the answer is yes. It is pretty simple, follow below steps to achieve it.

  • Open “"{drive name}:\Program Files\Microsoft Commerce Server 2007\Microsoft Commerce Server 2009\Site” folder and copy your site pub file into this folder.
  • Open “SharePointCommerceServicesConfiguration.exe.config” file in notepad. This file has configuration settings and the tool uses this configuration settings while creating a new site.
  • Make sure you provide your pub file either in PupWithDataFileName value or PuPSchemaOnlyFileName value. 
  • <appSettings>
            <add key="SolutionTitle" value="Microsoft SharePoint Commerce Services Configuration Wizard" />
            <add key="PupWithDataFileName" value="MicrosoftCommerceDefaultSiteWithSampleData.pup" />
            <add key="PupSchemaOnlyFileName" value="MicrosoftCommerceDefaultSiteNoData.pup" />
            <add key="TextLogFile" value="Sharepoint Commerce Services Config.log" />
            <add key="SiteCollectionCultureContext" value="en-US" />
        </appSettings>

Note: When you execute the tool, In third screen it will ask for two options.

image

If you select “Unpack Commerce Server Site (schema only)” then the tool will import the pub file specified in “PupSchemaOnlyFileName” key or if you select “Unpack Commerce Server Site (with sample data)” then the tool will import the pub file specified in “PubWithDataFileName” key.

Related Articles


If you like this post, please click on our sponsor advertisement.


Leave a Reply

Follow me on Google+
Add to circles

In 0 people's circles

Sign up for Newsletter