SQL1159 Initialization error with DB2 .NET Data Provider, reason code 2

后端 未结 4 1384
遇见更好的自我
遇见更好的自我 2021-02-20 01:09

I am trying to connect to DB2 from .NET 2.0 application in my development machine running windows 7 64 bit.

I am getting this error in open method. Could not find a sol

4条回答
  •  孤独总比滥情好
    2021-02-20 01:48

    Learnt this from a colleauge of mine. Issue was because db2app.dll was missing in bin directory of application folder.

    Copied db2app.dll and db2app64.dll from C:\Program Files\IBM\SQLLIB\BIN to bib folder of application and it worked fine.

提交回复
热议问题