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 IC79276 Status: Closed

AFTER UPGRADE OF DATA SERVER DRIVER PACKAGE, .NET DRIVER NOT REGISTERED

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
Users Affected: 
Users of the IBM Data Server Driver Package. 
 
Problem Description: 
Upon upgrade of an existing install of the IBM Data Server 
Driver Package on Windows, the .NET validation utilities 
testconn40.exe and testconn_32.exe fail with the following 
exception: 
 
Step 1: Printing version info 
        .NET Framework version: 4.0.30319.235 
        System.IO.FileNotFoundException: Could not load file or 
assembly 'IBM.Data.DB2, Version=9.0.0.4, Culture=neutral, 
PublicKeyToken=7c307b91aa13d208' or one of its dependencies. The 
system cannot find the file specified. File name: 'IBM.Data.DB2, 
Version=9.0.0.4, Culture=neutral, 
PublicKeyToken=7c307b91aa13d208' 
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName 
fileName, 
String codeBase, Evidence assemblySecurity, RuntimeAssembly 
locationHint, StackCrawlMark &stackMark, Boolean 
throwOnFileNotFound, Boolean forIntrospection, 
Boolean suppressSecurityChecks) 
   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName 
fileName, String code Base, Evidence assemblySecurity, 
RuntimeAssembly locationHint, StackCrawlMark& stackMark, 
Boolean throwOnFileNotFound, Boolean forIntrospection, 
Boolean suppressSecurityChecks) 
 
   at 
System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(Assem 
blyName 
 
assemblyRef, Evidence assemblySecurity, StackCrawlMark& 
stackMark, Boolean forIntrospection, Boolean 
suppressSecurityChecks) 
   at System.Reflection.RuntimeAssembly.InternalLoad(String 
assemblyString, Evidence assemblySecurity, StackCrawlMark& 
stackMark, Boolean forIntrospection) 
   at System.Reflection.Assembly.Load(String assemblyString) 
   at TestConn.myClassName.LoadDB2() 
   at TestConn.myClassName.PrintVersionInfo() 
 
 
This is due to the DB2 .NET Provider not being registered 
properly during the upgrade. In addition to the above exception 
(For the .NET 4.0 Framework test), the testconn20.exe utility 
(which tests the .NET 2.0 Framework), will show the wrong 
version of the driver being loaded. 
 
This problem only occurs is the upgrade is performed using the 
GUI (graphical user interface). If install is performed using a 
response file, this issue will not occur.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Users and applications using the IBM Data Server Driver      * 
* package, version 9.7 on Windows platforms                    * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description above.                                 * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 9.7 Fix Pack 6.                       * 
****************************************************************
Local Fix:
Perform the upgrade using a response file: 
setup /u response_file.rsp 
 
For details, see: 
 
Command line options to install IBM Data Server Driver Package 
(Windows) 
http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp?t 
opic=/com.ibm.swg.im.dbclient.install.doc/doc/r0051902.html
available fix packs:
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
First fixed in DB2 Version 9.7 Fix Pack 6
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC84340 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
18.10.2011
22.07.2013
22.07.2013
Problem solved at the following versions (IBM BugInfos)
9.7.FP6
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.6 FixList