|
-
Aug 8th, 2003, 10:19 AM
#1
Thread Starter
Junior Member
Really need help - ADODB problem when application implemented
Hi,
I have a client/server application that uses ADODB to communicate with an IBM iSeries server. It works fine at the office under either Win XP or Win2K, but when I installed the application on the client site for a demonstration, I got the following error:
System.InvalidCastException: QueryInterface for interface ADODB._Command failed at ADODB.CommandClass.set_CommandType (CommandTypeEnum plCmdType).
The error seems to be occurring when the ADO command object is set to a stored procedure command, as follows.
cmd.CommandType = CommandTypeEnum.adCmdStoredProc
Or at least that's where I think it's happenning, I don't have a log of exactly where the failure is. BUT the code works fine at the ranch, so it must be a PC config or deployment or DLL problem??
I installed the .Net Framework prior to installing the application, and the adodb.dll is deployed with the project, and I've verified that the dll is there, and at the same version as my development environment.
Please please help! I need to demo this app to the client on Monday morning!
Thanks in advance,
Liam.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|