Range of Errors

The following categories of errors can be generated from Microsoft SQL Server for Microsoft SQL Server 2005 Compact Edition (SQL Server Compact Edition).

Category Range

Engine Errors

25000-27999

Replication Transport Errors

28000-28499

Client Agent Errors

28500-28999

Server Agent Errors

29000-29499

Message Protocol Errors

29500-29999

Query Processor errors

25500-26499

OLEDB Errors

0x80040E00L-0x00040EDDL

When SQL Server Compact Edition returns an error, use the native number of the error to look up an error description in the tables listed. Parameters are also listed in these tables.

Note Although parameters might exist for an error, not all occurrences of the error will return parameters. If you are looking for other HRESULT errors, see Oledberr.h, Winerror.h and Wininet.h that are included with Microsoft Visual Studio 2005. You can also see OLEDB Errors. For more information about HRESULT values, search the MSDN Library or the Microsoft Knowledge Base.