Partager via


MappedClassDataMismatchException Class

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

The exception that is thrown when information retrieved for loading mapped classes does not match expected formats defined in the mapping.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class MappedClassDataMismatchException _
    Inherits Exception
'Usage
Dim instance As MappedClassDataMismatchException
[SerializableAttribute]
public class MappedClassDataMismatchException : Exception
[SerializableAttribute]
public ref class MappedClassDataMismatchException : public Exception
public class MappedClassDataMismatchException extends Exception

Remarks

MappedClassDataMismatchException is most often thrown when there is a misconfigured SQL Server containing the wrong relational schema information. MappedClassDataMismatchException can also be thrown when the Orders mapping file, OrderObjectMappings.xml, was modified and propagated to Web servers along with appropriate SQL schema changes, but new stored procedures were not generated using the OrderMapping.exe tool and applied to the SQL Server.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer.Runtime.Orders..::.MappedClassDataMismatchException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

MappedClassDataMismatchException Members

Microsoft.CommerceServer.Runtime.Orders Namespace