Icon View Incident Report

Serious Serious
Reported By: Hedley Muscroft
Reported On: 5/27/2011
For: Version 2.05 Build 7
# 3455 Parameterized INSERTs Causing Errors in ElevateDB .NET Data Provider

I am getting an error when trying to insert a record using an EDBDataAdapter:

Elevate.ElevateDB.Data.EDBException was unhandled by user code

Message=Object reference not set to an instance of an object.

Source=System.Data

ErrorCode=9999

ErrorColumn=0

ErrorLine=0

ErrorMsg=""

StackTrace:

at System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)

at System.Data.Common.DbDataAdapter.UpdatedRowStatus(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)

at System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping)

at System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows)

at ClinicOffice.cDB.UpdateAdapter(DbDataAdapter Adapter, DataRow[] Rows, Boolean DoAcceptChanges) in E:\vs\source\CO_DB\CO_DB\cDB.cs:line 209

at ClinicOffice.cDB_EDB.UpdateAdapter(DbDataAdapter Adapter, DataRow[] Rows, Boolean DoAcceptChanges) in E:\vs\source\CO_DB\CO_DB\cDB_EDB.cs:line 624

at ClinicOffice.cDB.UpdateAdapter(DbDataAdapter Adapter, DataRow[] Rows) in E:\vs\source\CO_DB\CO_DB\cDB.cs:line 206

at ClinicOffice.cDBBaseRec.Save() in E:\vs\source\CO_DB\CO_DB\cDBBaseRec.cs:line 228

...........

InnerException: System.NullReferenceException

Message=Object reference not set to an instance of an object.

Source=Elevate.ElevateDB.Data

StackTrace:

at Elevate.ElevateDB.Data.Engine.TEDBRoutineParamReferenceValue.GetParamType()

at Elevate.ElevateDB.Data.Engine.TEDBRoutineParamReferenceValue.get_ParamType()

at Elevate.ElevateDB.Data.Engine.TEDBInsertManager.Execute()

at Elevate.ElevateDB.Data.Engine.TEDBLocalStatementManager.Execute()

at Elevate.ElevateDB.Data.EDBCommand.Execute()


Resolution Resolution
Fixed Problem on 5/28/2011 in version 2.05 build 8


Products Affected Products Affected
ElevateDB DAC Client-Server
ElevateDB DAC Client-Server with Source
ElevateDB DAC Standard
ElevateDB DAC Standard with Source
ElevateDB DAC Trial

Image