Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2003
    Posts
    1

    Exclamation Unanswered: 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

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650

    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

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •