K
Kevin Boske - [MS]
Do you have a Unique Index on this column?
Kevin Boske
([email protected])
SQL Server CE Team
Microsoft
----------------------------------------------------------------------------
----------------------------------------
Everything you need to know about SQL Server CE:
http://www.microsoft.com/sql/ce/techinfo/default.asp
----------------------------------------------------------------------------
----------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
----------------------------------------------------------------------------
----------------------------------------
--------------------
Content-Class: urn:content-classes:message
From: "Butt Chin Chuan" <[email protected]>
Sender: "Butt Chin Chuan" <[email protected]>
Subject: Error: 0x80040e2f BD_INTEGRITYVIOLATION
Date: Fri, 11 Jul 2003 08:01:25 -0700
Lines: 20
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Thread-Index: AcNHvUxCxpHwEUy2QxeSLcAopElhqg==
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Newsgroups: microsoft.public.dotnet.framework.compactframework
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:28001
NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
I encountered the following error message:
Error: 0x80040e2f BD_INTEGRITYVIOLATION
NativeError: (25016)
Description: A duplicate value cannot be inserted into a
unique index [,,,,,]
Interface defining error: IID_IRowsetChange
Param. O:0
Param. 1:0
Param. 2:0
Param. 3:
Param. 4:
Param. 5:
I set my primary as auto-increment, not included in the
sql statement. The problem is this: If I enter the same
MemberID as the one in the previous record, I will get
this error message. I didn't set my MemberID as my primary
key, so why this error? Any suggestions? Thank you.
Kevin Boske
([email protected])
SQL Server CE Team
Microsoft
----------------------------------------------------------------------------
----------------------------------------
Everything you need to know about SQL Server CE:
http://www.microsoft.com/sql/ce/techinfo/default.asp
----------------------------------------------------------------------------
----------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
----------------------------------------------------------------------------
----------------------------------------
--------------------
Content-Class: urn:content-classes:message
From: "Butt Chin Chuan" <[email protected]>
Sender: "Butt Chin Chuan" <[email protected]>
Subject: Error: 0x80040e2f BD_INTEGRITYVIOLATION
Date: Fri, 11 Jul 2003 08:01:25 -0700
Lines: 20
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Thread-Index: AcNHvUxCxpHwEUy2QxeSLcAopElhqg==
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Newsgroups: microsoft.public.dotnet.framework.compactframework
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:28001
NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
I encountered the following error message:
Error: 0x80040e2f BD_INTEGRITYVIOLATION
NativeError: (25016)
Description: A duplicate value cannot be inserted into a
unique index [,,,,,]
Interface defining error: IID_IRowsetChange
Param. O:0
Param. 1:0
Param. 2:0
Param. 3:
Param. 4:
Param. 5:
I set my primary as auto-increment, not included in the
sql statement. The problem is this: If I enter the same
MemberID as the one in the previous record, I will get
this error message. I didn't set my MemberID as my primary
key, so why this error? Any suggestions? Thank you.