locked
The type initializer for 'IBM.Data.DB2.DB2Connection' threw an exception. RRS feed

  • Question

  •  
    Hello,

    I am using UDB  Database ( IBM DB2 9.1) with ASP.Net.

    I am inserting data in DB2 database!

    When I run my web site in Visual Studio 2008, I can connect with db2 database and successfully insert data!

    But when I deploy my web site locally in my IIS(After creating Virtual Directory) I receive following Error!

     
    The type initializer for 'IBM.Data.DB2.DB2Connection' threw an exception. 


    I uninstall/install Db2 Connect server 9.1, so many time but I am unable to find error!


    Please if you can help me!

    Thanks!

    EME

    EME
    Tuesday, February 10, 2009 2:06 PM

Answers

  •  

    Hi,

    Thank you for your post!  I would suggest posting your question in ASP.NET Forums located here:  

    http://forums.asp.net/

    Have a great day!

     

    Kiran Polimetla Tier 2 Application Support Server and Tools Online Engineering Live Services Team
    Tuesday, February 10, 2009 2:13 PM