Ask a questionAsk a question
 

QuestionOrder data migration problem

  • Monday, September 28, 2009 9:51 PMgwheeloc Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    When I try to migrate my transaction data from the CS 2002 schema to the new CS transaction database schema using the Upgrade wizard, I'm seeing this error in the log file.

    17:07:15: <OrdersComponent:MigrateBasketsAndOrderTemplates>: Error: Failed to marshal data from commerce dictionary to object model: Error  - Data in the dictionary does not match with mapping. The value for key shipping_method_name in the dictionary is of type __ComObject but as per mapping file it should be of type String. The value is 'System.__ComObject'    More information:    Object of type 'System.__ComObject' cannot be converted to type 'System.String'.

    17:07:17: <OrdersComponent:MigratePurchaseOrders>: Error: Failed to marshall data from commerce dictionary to strongly typed objects: Error  - Data in the dictionary does not match with mapping. The value for key shipping_method_name in the dictionary is of type __ComObject but as per mapping file it should be of type String. The value is 'System.__ComObject'    More information:    Object of type 'System.__ComObject' cannot be converted to type 'System.String'.

    The field it is complaining about (shipping_method_name) I believe is a standard property of CS 2002 and CS 2007.
    Has anyone seen this error and knows of a solution for it?  Or does anyone have ideas for troubleshooting this?

    Thank you.
    gwheeloc

All Replies

  • Tuesday, September 29, 2009 1:36 PMgwheeloc Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    In the upgrade.config file there is this configuration

    <!--

     

    If migrating to the extended OrderSystem include the StorageMappingFilename attribute here
    in absence of this attribute the default OrderObjectMappings.xml will be used.
    -->
    <
    MappingFiles PipelineMappingFilename="OrderMigrationMappings.xml"/>

    Does anyone know where the default OrderObjectMappings.xml file is found?

  • Monday, November 02, 2009 5:51 AMVanshVijaySagar Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    hi ,
    OrderObjectMappings.xml u can find under inetpubs/OrderWebService folder


    Vijay Sagar