R
RRevs
Guest
Hi Team,
We are currently migrating our projects from VS2005 to VS2013.
During this we got an error only at Windows Server 2008.
The same build working fine at Win 7 PC.
Below is the stack Trace. Request you to help me ASAP
=================================================================================
System.Data.Odbc.OdbcException was caught
ErrorCode=-2146232009
HResult=-2146232009
Message=""
Source=""
StackTrace:
at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
at System.Data.Odbc.OdbcDataReader.GetData(Int32 i, SQL_C sqlctype, Int32 cb, Int32& cbLengthOrIndicator)
at System.Data.Odbc.OdbcDataReader.GetData(Int32 i, SQL_C sqlctype)
at System.Data.Odbc.OdbcDataReader.internalGetInt32(Int32 i)
at System.Data.Odbc.OdbcDataReader.GetValue(Int32 i, TypeMap typemap)
at System.Data.Odbc.OdbcDataReader.GetValue(Int32 i)
at System.Data.Odbc.OdbcDataReader.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(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)
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(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at SJI.Common.DbHelper.ExecuteDataset(OdbcCommand& cmdExecute, Boolean clearCmdParams)
at SJI.ViewsQ.DataLayer.OpenResultsetDAL.PopulateGrid_Queue(Int16& shtInpParam, Int16& shtOpParam, Boolean& blnShowMsg, Int16& shtProcNo, DataSet& dstSelectedData, ArrayList aylInpParam, ArrayList& aylOpParam) in C:\SJI\sjiapplication\sji\VS2005Src\views&queues\ViewsQ_DAL\OpenResultsetDAL.vb:line 103
InnerException:
Continue reading...
We are currently migrating our projects from VS2005 to VS2013.
During this we got an error only at Windows Server 2008.
The same build working fine at Win 7 PC.
Below is the stack Trace. Request you to help me ASAP
=================================================================================
System.Data.Odbc.OdbcException was caught
ErrorCode=-2146232009
HResult=-2146232009
Message=""
Source=""
StackTrace:
at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
at System.Data.Odbc.OdbcDataReader.GetData(Int32 i, SQL_C sqlctype, Int32 cb, Int32& cbLengthOrIndicator)
at System.Data.Odbc.OdbcDataReader.GetData(Int32 i, SQL_C sqlctype)
at System.Data.Odbc.OdbcDataReader.internalGetInt32(Int32 i)
at System.Data.Odbc.OdbcDataReader.GetValue(Int32 i, TypeMap typemap)
at System.Data.Odbc.OdbcDataReader.GetValue(Int32 i)
at System.Data.Odbc.OdbcDataReader.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(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)
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(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at SJI.Common.DbHelper.ExecuteDataset(OdbcCommand& cmdExecute, Boolean clearCmdParams)
at SJI.ViewsQ.DataLayer.OpenResultsetDAL.PopulateGrid_Queue(Int16& shtInpParam, Int16& shtOpParam, Boolean& blnShowMsg, Int16& shtProcNo, DataSet& dstSelectedData, ArrayList aylInpParam, ArrayList& aylOpParam) in C:\SJI\sjiapplication\sji\VS2005Src\views&queues\ViewsQ_DAL\OpenResultsetDAL.vb:line 103
InnerException:
Continue reading...