Commerce Server Blog

Build world class ecommerce applications using Microsoft Commerce Server
  •  
  • Home
  • Advertise
  • Copyright Policy
  • Disclaimer
  • About

Error while executing OrderMapping.Exe tool

ravikanth | December 22, 2008

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

Categories
Troubleshoot
Comments rss
Comments rss
Trackback
Trackback

« Commerce Server 2009 – December 2008 CTP Now Available Which Version of Commerce Server Database I have? »

Leave a Reply

Click here to cancel reply.

Powered by WP Hashcash

Sign up for Newsletter


Categories

Quiz

  • Catalog Quiz for Beginners
  • Profile Quiz for Beginners
  • Quiz 1 for Advance Users
  • Quiz for Beginners

Recent Posts

  • RCXml2Resx.exe tool stops working
  • Commerce Server Profile Importer Tool
  • Marketing Web service Exception: SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM
  • Download Commerce Server 2009 Help Document
  • Commerce Server 2009 work with SharePoint 2010?
  • Failed to set value for profile property ‘email_address’.
  • ArgumentException: An item with the same key has already been added.
  • Please note that one or more items were removed from your order because the product is no longer sold.
  • How to Avoid Duplicate Orders Numbers in Commerce Server
  • Error: Microsoft.Commerce.Contracts.Faults.ItemDoesNotExistFault

Archives

  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008

Tags

add discounts add images to profile Advantages of commerce server approve discounts authentication auto login process automatic user creation basket Brand Management business tools campaign management Catalog catalog import Category CategoryConfiguration commerce server commerce server 2007 commerce server manager Commerce Server SP2 discounts ecommerce Estimation Installation inventory Kanth Koppala marketing system migration error Mojave operation components operation sequence Order subsystem Product profile profile subsystem property metadata purchase order quick checkout Ravi Ravi Kanth site cache refresh starter site tools transactions error Variant
(c) 2009 Commerce Server Blog. All rights Reserved. Articles cannot be reproduced without permission from the author.Write to me at kanth@ravikanth.net if you have any comments, questions, suggestions about this site or would like to send us a tip
About Us | Terms of Use | Disclaimer | Advertise .