Fill Error on some systems
Posted: Wed 30 Nov 2005 13:37
VB.NET 2002
.Net Framework (english) v1.0.3705
MySql V4.0.18
On the developpement computer it works fine. I make a deployement project and I install the application on another computer. The error that occurs each time the application performes a Fill:
mscorlib
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Runtime.InteropServices.Marshal.PtrToStructureHelper(IntPtr ptr, Object structure, Boolean allowValueClasses)
at CoreLab.MySql.MySqlDataReader.Open(CommandBehavior behavior)
at CoreLab.MySql.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at CoreLab.MySql.MySqlCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at Common.clsCmbVal.Populare()
.Net Framework (english) v1.0.3705
MySql V4.0.18
On the developpement computer it works fine. I make a deployement project and I install the application on another computer. The error that occurs each time the application performes a Fill:
mscorlib
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Runtime.InteropServices.Marshal.PtrToStructureHelper(IntPtr ptr, Object structure, Boolean allowValueClasses)
at CoreLab.MySql.MySqlDataReader.Open(CommandBehavior behavior)
at CoreLab.MySql.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at CoreLab.MySql.MySqlCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at Common.clsCmbVal.Populare()