By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,180 Members | 1,012 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,180 IT Pros & Developers. It's quick & easy.

SQL30020N return code 1245 when accessing db2 VM db via .asp

P: n/a
Hi we are writing an applicatiion which accesses a db2 for vm 7.2
database from a ado connection in a .asp script which runs on a IIS
server.
We receive the error

SQLGetDiagRec( pszSqlState="40003", pfNativeError=-30020,
pszErrorMsg="[IBM][CLI Driver][SQLDS/VM] SQL30020N Execution failed
because of a Distributed Protocol Error that will affect the
successful execution of subsequent commands and SQL statements:
Reason Code "1245". SQLSTATE=58009

Does anyone know what this means?
The client is running db2 V6.1 and connecting via a db2 gateway. I
suspect that there's a problem with the driver (although it seems to
work ok with a vbscript).

Any ideas would be much appreciated.

Thanks
Lyn
Nov 12 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.