Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to load DLL db2app.dll, pls help to conect to DB2 from ASP.net

Status
Not open for further replies.

Videla

Programmer
Jul 28, 2005
98
US
Hi All,
I want to connect to IBM DB2 database v8.1. I am using IBM Db2's Managed Connection driver. Below is my code. I have also done "import IBM.data.Db2". when i execute the following page, it says "Unable to load DLL (db2app.dll)"
I can see IBM.data.DB2 dll in my refence area also. When i try to connect to the DB 2 using Db2 data control, i tested the coonection and it is also success but when i execute the page, i am getting that error.
Can any one help me to get connection to DB2.

CODE
-----
Dim dc As New DB2Connection("server=110.9.10.7;database=test;Connect Timeout=30;user Id=tuser;password=tpass;")
dc.Open()

Other details
-------------
Visual Studio .net 2003
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top