none
How dotNet access DB2 RRS feed

  • Question

  • If this question is not belong to this category, please point me to correct category.

     Got error "DB2OLEDB is not registered" whern run below code to access DB2. Do I need to install driver or ole db provider ? where to get it or I need to manually register dll. How to build environment . Any information are welcome, specific, step by step document. Do I need to install DB2 client ?

    thanks

    Gary

     

    OleDbConnection

     

    cn = new OleDbConnection("Provider=DB2OLEDB;Network Transport Library=TCPIP;Network Address=10.10.10.80;Initial Catalog=SAMPLE;Package Collection=SAMPLE;Default Schema=Schema;User ID=Administrator;Password=k0fax");

    • Moved by Bob Beauchemin Wednesday, September 29, 2010 6:24 PM Moved to a more relevent forum (From:.NET Framework inside SQL Server)
    Wednesday, September 29, 2010 3:25 PM

Answers

All replies