Previous Next

Thread: IBM DB2 .NET Provider in 32 bit mode

Last post 06-05-2008 11:33 PM by steve schofield. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 06-05-2008, 11:35 AM

    • Letrix
    • Not Ranked
    • Joined on 06-03-2008, 9:03 AM
    • Posts 2
    • Letrix

    IBM DB2 .NET Provider in 32 bit mode

    Hello,

     I'm using 64 bit version of WIndows 2008 Server Standard with IIS 7. I wanted to use Jet provider to access MS Access database so I have created new application pool and have enabled "Enable 32-Bit Applications". However I also use IBM DB2 provider and it doesn't want to work in 32-Bit mode. There is following error:

    SQL1159  Initialization error with DB2 .NET Data Provider, reason code 3, tokens C:\Program Files\IBM\SQLLIB\bin\db2app64.dll

    When I installed 32 bit version of DB2 provider there was another error which stated:

    Exception Details: System.InvalidOperationException: SQL1159 Initialization error with DB2 .NET Data Provider, reason code 10, tokens 0.0.0, 9.5.1

    I know this isn't best place to talk about such problems however I tryed almost everything to solve that problem. Thank you in advance for your help.
     

  • 06-05-2008, 11:33 PM In reply to

    Re: IBM DB2 .NET Provider in 32 bit mode

    I would check with IBM.  I've run into this with 3rd party components, *most* times you just ned to install whatever version of the component (32 or 64) bit and it should work.  The only advice I can offer is make sure the permissions are setup so the necessary app pool or IUSR accounts have permission to the files.   Also, you can try installing in the GAC if you are running in medium or partial trust.

    Steve Schofield
    Windows Server MVP - IIS
    MCTS - Windows Hosting

    http://weblogs.asp.net/steveschofield
    http://www.iislogs.com
    http://www.orcsweb.com/
    Managed Hosting Solutions
    #1 in Service and Support
Page 1 of 1 (2 items)
Page view counter