IBM Support

LI73219: ERRORS WHEN CONNECTING WITH DB2.NET PROVIDER IF USING APPLICATIO N.CONFIG FILE AND REFERENCING UPPERCASE BIN IN HREF PATH.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the DB2.NET Data Provider with an application that us
    es its own application.config file, it may fail with an error wh
    ile trying to establish a connection, if the application.config
    file is pointing to a path that uses uppercase "BIN" for the pat
    h to the IBM.Data.DB2.dll.
    .
    For example, the following application.config file may fail:
    .
    <?xml version="1.0"?>
    <configuration>
       <runtime>
          <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
             <dependentAssembly>
                <assemblyIdentity name="IBM.Data.DB2"
                                  publicKeyToken="7c307b91aa13d208"
                                  culture="neutral" />
                <codeBase version="9.0.0.2"
    .
    href="file:C:/sqllib/BIN/netf20/IBM.Data.DB2.dll"/>
             </dependentAssembly>
          </assemblyBinding>
       </runtime>
    </configuration>
    .
    ... if "href" is pointing to uppercase "BIN" the application may
     fail to connect.  Using lowercase "bin" should work.
    

Local fix

  • Use lowercase "bin" inside the Path to the IBM.Data.DB2.dll file
     in the application.config file.
    

Problem summary

  • Users Affected:  DB2.NET application developers.
    Problem Description:  Using uppercase "BIN" inside href path for
    application.config file could cause application to fail to
    connect to a DB2 datasource.
    

Problem conclusion

  • First fixed in DB2 UDB Version 9, Fixpak 5
    

Temporary fix

  • Change the href path to lowercase "bin".
    

Comments

APAR Information

  • APAR number

    LI73219

  • Reported component name

    DB2 UDE ESE LIN

  • Reported component ID

    5765F4104

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-03-12

  • Closed date

    2008-07-02

  • Last modified date

    2008-07-02

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

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

    LI73243

Fix information

  • Fixed component name

    DB2 UDE ESE LIN

  • Fixed component ID

    5765F4104

Applicable component levels

  • R910 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 October 2021