Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What means DB_E_BADROWHANDLE(0x80040E04).

Status
Not open for further replies.

ndevriendt

Programmer
Jan 8, 2002
74
BE
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top