ndevriendt
Programmer
Hello,
I'm writing a ASP.NET page that makes a connection to a AS400 system.
ConnectToDatabase(ref objDbCommand);
IDataReader objDataReader = objDbCommand.ExecuteReader();
while(objDataReader.Read())
{
strValue = objDataReader.GetString(0);
}
On the getstring command I get the error
DB_E_BADROWHANDLE(0x80040E04). What is the reason for this error ?
My colleges doesn't have this problem with the same code, so I think its a problem on my PC.
I have checked the following things:
The version of MDAC = 2.8
The provider I use to make the connection = IBMDA400
In the regestry I see the following link:
HKEY_CLASSES_ROOT/CLSID/{54E19B41-1D13-11D0-9B95-0020AF344E0A})/InprocServer32. There I see the following:
C:\WINDOWS\system32\cwbzzodb.dll
The version of cwbzzodb.dll = 9.0.0.7
I'm writing a ASP.NET page that makes a connection to a AS400 system.
ConnectToDatabase(ref objDbCommand);
IDataReader objDataReader = objDbCommand.ExecuteReader();
while(objDataReader.Read())
{
strValue = objDataReader.GetString(0);
}
On the getstring command I get the error
DB_E_BADROWHANDLE(0x80040E04). What is the reason for this error ?
My colleges doesn't have this problem with the same code, so I think its a problem on my PC.
I have checked the following things:
The version of MDAC = 2.8
The provider I use to make the connection = IBMDA400
In the regestry I see the following link:
HKEY_CLASSES_ROOT/CLSID/{54E19B41-1D13-11D0-9B95-0020AF344E0A})/InprocServer32. There I see the following:
C:\WINDOWS\system32\cwbzzodb.dll
The version of cwbzzodb.dll = 9.0.0.7