If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Connecting to DB2 using ASP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-28-06, 15:33
xzander xzander is offline
Registered User
 
Join Date: Sep 2006
Posts: 6
Connecting to DB2 using ASP

Hey guys i want to connect to DB2 9 database using ASP pages can u help me out with the connection string part.....
i have used this

conns = "Driver=DB2OLEDB;data source=172.19.1.186;Database=PROJECT;Default Schema=X"
conn.open conns



but it gives me this error......
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

pls help me out guys its urgent.... thanks
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On