Attempted to read or write protected memory
serifelsen
Unknown
Hi
I am facing with the following exception while loading data.
This exception appears spontaneously. "Oracle Provider for OLE DB" provider is used.
Please help me
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Data.Common.UnsafeNativeMethods.ICommandText.Execute(IntPtr pUnkOuter, Guid& riid, tagDBPARAMS pDBParams, IntPtr& pcRowsAffected, Object& ppRowset)
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.ExecuteReader(CommandBehavior behavior)
at System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at FastReport.Data.DataConnectionBase.FillTableData(DataTable table, String selectCommand, CommandParameterCollection parameters)
at FastReport.Data.DataConnectionBase.FillTable(TableDataSource source)
at FastReport.Data.TableDataSource.LoadData(ArrayList rows)
at FastReport.Data.DataSourceBase.pC3E4PD3N()
at FastReport.Data.DataSourceBase.Init(Relation relation, String filter, SortCollection sort)
at FastReport.Data.DataSourceBase.Init(DataSourceBase parentData, String filter, SortCollection sort)
at FastReport.DataBand.InitDataSource()
at FastReport.GroupHeaderBand.d3KlLDvE0()
at FastReport.Engine.ReportEngine.DDAq9Cf6x(GroupHeaderBand )
at FastReport.Engine.ReportEngine.Jv9l3Ciyr4(BandCollection )
at FastReport.Engine.ReportEngine.NdvlfZc0XS(ReportPage )
at FastReport.Engine.ReportEngine.BHclJ4xDAf()
at FastReport.Engine.ReportEngine.9qGRKXnW1(ReportPage )
at FastReport.Engine.ReportEngine.bYEbNkE43(Boolean , Boolean , ReportPage )
at FastReport.Engine.ReportEngine.kZyL8aggu(Boolean , Boolean )
at FastReport.Report.Prepare(Boolean append)
at FastReport.Report.Prepare()
at eR84WM6q5le88Itw28g.Bbxy226SY6kXZHYS0Hf.TEYah3C9s()
I am facing with the following exception while loading data.
This exception appears spontaneously. "Oracle Provider for OLE DB" provider is used.
Please help me
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Data.Common.UnsafeNativeMethods.ICommandText.Execute(IntPtr pUnkOuter, Guid& riid, tagDBPARAMS pDBParams, IntPtr& pcRowsAffected, Object& ppRowset)
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.ExecuteReader(CommandBehavior behavior)
at System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at FastReport.Data.DataConnectionBase.FillTableData(DataTable table, String selectCommand, CommandParameterCollection parameters)
at FastReport.Data.DataConnectionBase.FillTable(TableDataSource source)
at FastReport.Data.TableDataSource.LoadData(ArrayList rows)
at FastReport.Data.DataSourceBase.pC3E4PD3N()
at FastReport.Data.DataSourceBase.Init(Relation relation, String filter, SortCollection sort)
at FastReport.Data.DataSourceBase.Init(DataSourceBase parentData, String filter, SortCollection sort)
at FastReport.DataBand.InitDataSource()
at FastReport.GroupHeaderBand.d3KlLDvE0()
at FastReport.Engine.ReportEngine.DDAq9Cf6x(GroupHeaderBand )
at FastReport.Engine.ReportEngine.Jv9l3Ciyr4(BandCollection )
at FastReport.Engine.ReportEngine.NdvlfZc0XS(ReportPage )
at FastReport.Engine.ReportEngine.BHclJ4xDAf()
at FastReport.Engine.ReportEngine.9qGRKXnW1(ReportPage )
at FastReport.Engine.ReportEngine.bYEbNkE43(Boolean , Boolean , ReportPage )
at FastReport.Engine.ReportEngine.kZyL8aggu(Boolean , Boolean )
at FastReport.Report.Prepare(Boolean append)
at FastReport.Report.Prepare()
at eR84WM6q5le88Itw28g.Bbxy226SY6kXZHYS0Hf.TEYah3C9s()
Comments
Looks like the problem is either in the driver or .Net Framework code. We cannot fix it.
Try to use another driver, FastReport.Oracle or FastReport.OracleODP from FRNetConnections.zip - you can download it here:
http://www.fast-report.com/pbc_download/FRNetConnections.zip