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 > Connection from Windows 2000 to AS/400

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-13-03, 21:52
chchsi chchsi is offline
Registered User
 
Join Date: Nov 2003
Posts: 1
Exclamation Connection from Windows 2000 to AS/400

Hello,

I'm writing an asp.net program to connect from Windows 2000 to AS/400 DB2. But i got an message saying that "The 'DB2OLEDB' provider is not registered on the local machine.".

connStr = "Provider=DB2OLEDB;" & _
"Network Transport Library=TCPIP;" & _
"Network Address=10.1.1.42;" & _
"Initial Catalog=testdta;" & _
"User ID=myid;" & _
"Password=12345678"

I didn't install any additional driver or software to support for the connection. Can anyone guide me what to do ?



Thanks
Reply With Quote
  #2 (permalink)  
Old 11-14-03, 03:39
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: Connection from Windows 2000 to AS/400

DB2 Connect is the client For AS/400 DB2

You should install it on the client side before trying to connect to the host

Cheers
Sathyaram

Quote:
Originally posted by chchsi
Hello,

I'm writing an asp.net program to connect from Windows 2000 to AS/400 DB2. But i got an message saying that "The 'DB2OLEDB' provider is not registered on the local machine.".

connStr = "Provider=DB2OLEDB;" & _
"Network Transport Library=TCPIP;" & _
"Network Address=10.1.1.42;" & _
"Initial Catalog=testdta;" & _
"User ID=myid;" & _
"Password=12345678"

I didn't install any additional driver or software to support for the connection. Can anyone guide me what to do ?



Thanks
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
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