I'm using Microsoft OLE DB's C++ Template library to access SQL Server 2012 via the "Microsoft OLE DB Provider for SQL Server" provider.
I have ever encountered the following error:
[Error information returned from CDBErrorInfo::GetBasicErrorInfo()]
- HRESULT: 0x80004005
- Native Error: 11
[Error information returned from CComPtr::GetErrorInfo()]
- Error state: 1
- Severity: 16
- Source: Microsoft OLE DB Provider for SQL Server
- Error message: [DBNETLIB][ConnectionWrite(send()).]General network error. Check your network documentation.
And, My problem is:
- Can I classify native error "11" directly as a network connection error, so that I can reconnect and retry again right away?
- Where can I find the document or description about the native errors returned by the "Microsoft OLE DB Provider for SQL Server" providers? and see if there is any other case I need to retry again.