Results 1 to 2 of 2

Thread: connectivity problem (vb.net to IBM DB2 database)

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 2002
    Location
    hyderabad
    Posts
    18

    connectivity problem (vb.net to IBM DB2 database)

    hi,
    I have problem while connecting to DB2 database from vb.net.

    Code:

    Imports IBM.Data.DB2

    Dim Con As New DB2Connection("Server=172.4.111.140:6210;database=xyz;Connect Timeout=120;user Id=abc;pwd=****")
    con.open()

    whenever executing above code it is giving below error:

    ERROR [42968] [IBM] SQL8002N Connect processing failed; a valid product license was not found. SQLSTATE=42968

    Please anybody help me regarding this.

  2. #2
    Frenzied Member MrGTI's Avatar
    Join Date
    Oct 2000
    Location
    Ontario, Canada
    Posts
    1,277

    Re: connectivity problem (vb.net to IBM DB2 database)

    Quote Originally Posted by ksraju
    ....Connect processing failed; a valid product license was not found.....
    That's an interesting error. It sounds like you don't have a valid product license.

    Also, .... have you tried checking ConnectionStrings.com ? Maybe you're not using the correct connection string.
    .
    ~Peter


Posting Permissions

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



Click Here to Expand Forum to Full Width