Error w/TableAdapter GetData() - UDT circumstance
636190Mar 15 2011 — edited Mar 25 2011Hi,
Oracle.DataAccess, Version=4.112.2.30
VS 2010
Windoze XP
IIS and VS Development Server
From within a web application I get the following error:
[System.AccessViolationException] Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Oracle.DataAccess.Client.OpsDac.GetType(IntPtr pOpsConCtx, IntPtr pOpsErrCtx, IntPtr pOpsDacCtx, OpoMetValCtx* pOpoMetValCtx, OpoDacValCtx* pOpoDacValCtx, Int32 bSkip)
at Oracle.DataAccess.Client.OracleDataReader.GetCustomObject(Int32 i)
at Oracle.DataAccess.Client.OracleDataReader.GetValues(Object[] values)
at System.Data.ProviderBase.DataReaderContainer.CommonLanguageSubsetDataReader.GetValues(Object[] values)
at System.Data.ProviderBase.SchemaMapping.LoadDataRow()
at System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping)
at System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue)
at System.Data.Common.DataAdapter.Fill(DataTable[] dataTables, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)
at Oracle.DataAccess.Client.OracleDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at NOVDataSets.NOVDSTableAdapters.NOVITEMSTableAdapter.GetData() in C:\ITestWeb\NOVsolution\NOVDataSets\NOVDS.Designer.cs:line 4880
This error is consistantly produced when I NULL a UDT field value from codebehind and reload a grid. Could be a "red herring" for all I know but here it is. The manipulation of any other column values(they are all well known types) does not produce this result. Any thoughts would be appreciated.
r,
dennis