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
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