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

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error 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.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 10.1 FP1 or subsequent fix pack.              *
    ****************************************************************
    

Problem conclusion

  • Problem First Fixed in DB2 Version 10.1 Fix Pack 1
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC84340

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-13

  • Closed date

    2013-02-19

  • Last modified date

    2013-02-19

  • APAR is sysrouted FROM one or more of the following:

    IC79276

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RA10 PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

DB2 for Linux, UNIX and Windows

Software version:

10.1

Reference #:

IC84340

Modified date:

2013-02-19

Translate my page

Machine Translation

Content navigation