code_junkie

AccessViolationException on OdbcDataReader.Dispose()

Nov 13th, 2011
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
  2. at System.Data.Common.UnsafeNativeMethods.SQLFreeStmt(OdbcStatementHandle StatementHandle, STMT Option)
  3. at System.Data.Odbc.CMDWrapper.FreeStatementHandle(STMT stmt)
  4. at System.Data.Odbc.OdbcDataReader.Close(Boolean disposing)
  5. at System.Data.Odbc.OdbcDataReader.Dispose(Boolean disposing)
  6. at System.Data.Common.DbDataReader.Dispose()
  7. at MyNamespace.MyClass.MyFunction() in C:myfile.vb:line 100
Add Comment
Please, Sign In to add comment