Unix Technical Forum

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

This is a discussion on SQL30020N return code 1245 when accessing db2 VM db via .asp within the DB2 forums, part of the Database Server Software category; --> Hi we are writing an applicatiion which accesses a db2 for vm 7.2 database from a ado connection in ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2008, 06:08 PM
Lyn Duong
 
Posts: n/a
Default SQL30020N return code 1245 when accessing db2 VM db via .asp

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:57 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com