Article ID: 273580 - Last Review: July 12, 2004 - Revision: 1.2 HOWTO: Look Up Error Codes Related to SQL Server CEThis article was previously published under Q273580 SUMMARY
A Microsoft SQL Server 2000 Windows CE application may produce a variety of error codes that originate from the ActiveX Data Objects (ADO), OLE DB, Replication, Microsoft Internet Information Server or Microsoft Internet Information Services, or Microsoft Windows programs. The SQL Server Windows CE Books Online topic about "Error Codes" does not document all of the possible error codes that may occur. You can obtain a collection of major error codes that can occur when you use SQL CE (SSCE) connectivity from various sources such as:
So, for example, you can break down HRESULT 0x80072EE7, by taking the right-most 4 hexidecimal digits (2EE7) and converting them to decimal (12007). Then, look up that value in the Wininet.h file (as INTERNET_ERROR_BASE + 7). Search for the INTERNET_ERROR_BASE in the Wininet.h file. MORE INFORMATION
The SQL Server CE Books Online topic about "Error Codes" only documents native error codes. You must look for 800xxxxx errors in the Microsoft Developer Network (MSDN), Microsoft Knowledge Base articles or header files as previously described. Make sure that you add enough error handling code to your application to retrieve the error descriptions as described in the SQL Server CE Books Online topic about "Error Handling".
REFERENCES
SQL Server CE Books Online; topic: "Error Codes"
| Article Translations
|

Back to the top
