DB2 - Problembeschreibung
| Problem IC84340 | Status: Geschlossen |
AFTER UPGRADE OF DATA SERVER DRIVER PACKAGE, .NET DRIVER NOT REGISTERED | |
| Produkt: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
| Problembeschreibung: | |
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-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 10.1 FP1 or subsequent fix pack. * **************************************************************** | |
| 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 | |
| verfügbare FixPacks: | |
DB2 Version 10.1 Fix Pack 1 for Linux, UNIX, and Windows | |
| Lösung | |
Problem First Fixed in DB2 Version 10.1 Fix Pack 1 | |
| Workaround | |
keiner bekannt / siehe Local-Fix | |
| Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 13.06.2012 19.02.2013 19.02.2013 |
| Problem behoben ab folgender Versionen (IBM BugInfos) | |
| Problem behoben lt. FixList in der Version | |
| 10.1.0.1 |
|
| 10.5.0.1 |
|