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