Topic
  • 1 reply
  • Latest Post - ‏2012-11-29T21:20:47Z by bpgross
gemchacko
gemchacko
12 Posts

Pinned topic DB2 on WINDOWS 8 64 Bit Installation Process

‏2012-11-18T18:38:14Z |
Hi All,

This information may be helpful for anyone installing DB2 on Windows 8 or those of you get installation error on DB2 with the following errors:

sql1159 initialization error with db2 .net data provider reason code 7

or

sql1159 initialization error with db2 .net data provider reason code 10

Run as Administrator for all these tasks

Step 1
Go to Start -> Programs -> Visual Studio -> Developer Command Prompt

Step 2 - on the command prompt windows type the following

gacutil /if "C:\Program Files\IBM\SQLLIB\BIN\netf40\IBM.Data.DB2.dll"
gacutil /if "C:\Program Files\IBM\SQLLIB\BIN\netf40\IBM.Data.DB2.entity.dll"
gacutil /if "C:\Program Files\IBM\SQLLIB\BIN\netf40\IBM.Data.Informix.dll"
gacutil /if "C:\Program Files\IBM\SQLLIB\BIN\netf20\IBM.Data.DB2.dll"
gacutil /if "C:\Program Files\IBM\SQLLIB\BIN\netf20\IBM.Data.Informix.dll"
gacutil /if "C:\Program Files\IBM\SQLLIB\BIN\netf20\IBM.Data.DB2.entity.dll"

Step 3

Go to windows start -> search and type REGEDIT
Go to HKEY_LOCAL_MACHINE -> SOFTWARE -> IBM -> DB2 -> InstalledCopies
Click on the folder InstalledCopies
  • Right Click -> New -> String Value
edit to 10.1.0.DEF.2 -> Right Click and Modify -> on Value Data: enter DB2COPY1 (your instance name may be different- this is the default)

Repeat the task for the registry entry

for 10.1.0.DEF.4 ( same as above)
Thank You
Updated on 2012-11-29T21:20:47Z at 2012-11-29T21:20:47Z by bpgross
  • bpgross
    bpgross
    627 Posts

    Re: DB2 on WINDOWS 8 64 Bit Installation Process

    ‏2012-11-29T21:20:47Z  
    In addition to the information in this append, please see the technote we just published:

    http://www-01.ibm.com/support/docview.wss?uid=swg21618434

    Thanks,

    Brent.