DB2 - Problembeschreibung
Problem IC79276 | Status: Geschlossen |
AFTER UPGRADE OF DATA SERVER DRIVER PACKAGE, .NET DRIVER NOT REGISTERED | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - 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: * * 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 | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows | |
Lösung | |
First fixed in DB2 Version 9.7 Fix Pack 6 | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Bug-Verfolgung | |
Vorgänger : APAR is sysrouted TO one or more of the following: IC84340 Nachfolger : | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 18.10.2011 22.07.2013 22.07.2013 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP6 | |
Problem behoben lt. FixList in der Version | |
9.7.0.6 |