System.Data.Common.UnsafeNativeMethods.SetErrorInfo

J

Joe Curry

We have a data access object that handles most our our database actions,
Somethimes we get this error does anyone have a clue what could me causing
this.

at System.Data.Common.UnsafeNativeMethods.SetErrorInfo(Int32 dwReserved,
IntPtr pIErrorInfo)
at System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hResult,
OleDbConnection connection, Object src)
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32
hr)
at
System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS
dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object&
executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior
behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior
behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteScalar()
at StanleySteemer.Data.DbConnection.ExecuteScalar(String sql)
 
V

Val Mazur

Hi Joe,

Do you know which code causes this error? Which provider are you using to
connect to the database?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top