When you try to execute OrderMapping tool as shown below, you may encounter error.

OrderMapping.exe /w c:\inetpub\wwwroot\ShippingCostDemo\web.config

The error is as follows.

Microsoft (R) Commerce Server 2007 Order Mapping Tool
Copyright (C) Microsoft Corporation

One or more errors found during validation:
Error G0002 – Storage mapping file OrderObjectMappings.xml cannot be found

Resolution : Some how orderMapping tool is not able to identify OrderObjectMappings.xml file in the directory where web.config resides but rather it will look into c:\Program Files\Microsoft Commerce Server 2007\Tools directory. The resolution is to copy OrderObjectMappings.xml file into tools directory and execute the OrderMapping.exe tool again.

If you have any custom pipelines and tried to execute Order mapping tool, you may encounter following error.

Microsoft (R) Commerce Server 2007 Order Mapping Tool
Copyright (C) Microsoft Corporation
One or more errors found during validation:

Error G0001 – Assembly ShippingLineItemExtension cannot be loaded:System.IO.FileNotFoundException: Could not load file or assembly ‘ShippingLineItemExtension’ or one of its dependencies. The system cannot find the file specified.
File name: ‘ShippingLineItemExtension’
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)at System.Reflection.Assembly.Load(String assemblyString)at Microsoft.CommerceServer.Internal.Orders.Storage.SchemaMapping.LoadAssemblies(TypeDefinition[] typeDefs, MappingResults results)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

The resolution is to copy pipeline assembly into c:\Program Files\Microsoft Commerce Server 2007\Tools directory

Related Articles


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


Leave a Reply

Follow me on Google+
Couldn't get data from google+
Sign up for Newsletter