Article ID: 286357 - View products that this article applies to.
This article was previously published under Q286357
This article has been archived. It is offered "as is" and will no longer be updated.
When you insert new rows into replicable tables in a SQL Server CE subscription database, you might get a DB_E_INTEGRITYVIOLATION error (0x80040e2f, as defined in oledberr.h) due to duplicate GUID generation.
This problem is seen most commonly on Microsoft Handheld PC Pro or Palm-size PC devices that are running Windows CE version 2.11 with MIPS processors, but the error may occur on other devices as well.
When the GUID creation code attempts to load a dependent DLL (Winsock.dll), the load fails and an invalid GUID is created.
To resolve this problem, download and install the latest version of SQL Server 2000 Windows CE Edition, which is available from the following Microsoft Web site:
http://www.microsoft.com/sql/prodinfo/previousversions/SQLCE/default.mspxNOTE: When you install the Development Tools for the refreshed version on a computer that had a previous installation, you will be prompted to uninstall the previous installation before continuing.
For more information, see "Steps to Apply the Fix" in the "More Information" section of this article.
Microsoft has confirmed that this is a problem in the initial release of SQL Server 2000 Windows CE edition.
This problem was corrected in the subsequent version of SQL Server 2000 Windows CE Edition.
INSERT statements that are used against replicable tables on certain devices may fail with an "INTEGRITY VIOLATION" error. This problem is seen most commonly on Handheld PC Pro or Palm-size PC devices that are running Windows CE version 2.11 and have MIPS processors, but may occur on other devices as well.
This error is a result of the GUID creation code not generating a unique identifier for the Rowguid column. Only databases that participate in replication are affected by the error.
NOTE: The problem doesn't always appear, even on a device on which the problem is known to exist. The actual error seems to depend upon the calling sequences that each individual application uses.
Components UpdatedOnly the .dll files that are packaged in the Development Tools installation (Ssce10.dll and Ssceca10.dll) are affected by the refresh.
The original release of Microsoft SQL Server 2000 Windows CE Edition contains Ssce10.dll and Ssceca10.dll (by default installed in \Program Files\Microsoft SQL Server CE\Device\) build 1.0.2202.0, while the refresh version contains build 1.0.2202.5 of the two files.
The new GUID creation code for SQL Server Windows CE version replication is no longer dependent on the presence of Winsock.dll or a network card.
The Server Tools installation has not been affected by the refresh.
Steps to Apply the Fix
Article ID: 286357 - Last Review: October 23, 2013 - Revision: 2.1