DuplicateEntityIdException Class
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
The exception that is thrown when an insert is attempted for an entity, and an entity with that Id already exists in the database.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class DuplicateEntityIdException _
Inherits Exception _
Implements ISerializable
'Usage
Dim instance As DuplicateEntityIdException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class DuplicateEntityIdException : Exception, ISerializable
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class DuplicateEntityIdException : public Exception,
ISerializable
public class DuplicateEntityIdException extends Exception implements ISerializable
Remarks
DuplicateEntityIdException is thrown when an attempt is made to insert an entity with a specific Id into the campaigns database and it is detected that an entity with that Id already exists in the database. Staging may fail with this exception if the campaigns database is modified externally during the staging process. Running staging again after inspecting and/ or cleaning the destination database should resolve the issue.
Inheritance Hierarchy
System..::.Object
System..::.Exception
Microsoft.CommerceServer.Marketing..::.DuplicateEntityIdException
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.