home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC83940 Status: Closed

[IBM][DB2.NET] SQL0902 AN UNEXPECTED EXCEPTION HAS OCCURRED IN PROCESS. CLI
DRIVER CRASHES IN CLI_CSIPOSTCONNECT

product:
DB2 CONNECT / DB2CONNCT / A10 - DB2
Problem description:
.NET application gives below error message: 
 
Message : [IBM][DB2.NET] SQL0902 An unexpected exception has 
occurred in  Process: 7240 Thread 42 AppDomain: Name:Orcas.exe 
There are no context policies. 
 Function: SQLConnect 
 
CLI Driver throws memory could not read error. This error has 
found on Windows, but may occur on any other platform. On 
windows, CLI Driver may crash with below stack: 
 
  db2app.dll!CLI_csiPostConnect(CLI_CONNECTINFO * 
pDbcInfo=0x03850060)  Line 567 + 0x15 bytes C++ 
  db2app.dll!CLI_sqlConnect(CLI_CONNECTINFO * 
pDbcInfo=0x03850060, sqlca * pSqlca=0x03850ab4, 
CLI_ERRORHEADERINFO * pErrHeader=0x0385010c)  Line 2415 + 0xc 
bytes C++ 
  db2app.dll!SQLConnect2(CLI_CONNECTINFO * pDbcInfo=0x03850060, 
unsigned char * szDSN=0x0385dd70, short cbDSNIn=8, unsigned char 
* szUID=0x0385da2e, short cbUIDIn=8, unsigned char * 
szAuthStr=0x0385da3b, short cbAuthStrIn=8, unsigned char * 
szNewPwd=0x00000000, short cbNewPwdIn=0, unsigned char 
fReadSysOwner='R')  Line 6110 + 0x26 bytes C++ 
 
This error happens because of some fixed number of Keywords in 
the connection string passed to SQLDriverConnect2 from all 
sources.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All CLI Driver user.                                         * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to db2_v101fp1 and above fixpack.                    * 
****************************************************************
Local Fix:
Add or remove a valid keyword to/from any of connection string, 
db2dsdriver.cfg or db2cli.ini file. The number of keywords 
passed in connection string to SQLDriverConnect2 from all 
sources should get changed from its current count to avoid this 
issue.
available fix packs:
DB2 Version 10.1 Fix Pack 1 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Solution
v101fp1 and heigher releases contains this fix. After the fix, 
user fill not face this issue.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
05.06.2012
06.11.2012
06.11.2012
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.1 FixList
10.5.0.1 FixList