System.Data.Common.UnsafeNativeMethods.SetErrorInfo

  • Thread starter Thread starter Joe Curry
  • Start date Start date
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)
 
Hi Joe,

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