Range of Errors

The following categories of errors can be generated from SQL Server for SQL Server Compact 4.0.



Engine errors


Message Protocol errors


Query Processor errors


OLEDB errors


When SQL Server Compact 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. You can also see OLEDB Errors. For more information about HRESULT values, search the MSDN Library or the Microsoft Knowledge Base.