Db2/AS400 library connecting via oledb in vb.net

pts.
Tags:
IBM DB2
PC/Windows Connectivity
I have been trying to connect a vb.net datalink property to a specific library on a 400. When I fill in the field "Enter the initial catalog to use" I get the message that the catalog is invalid. I have thought it might be a path on the 400, such as QSYS/MyLib, but that errors as well. What am I missing, this should be easy! I have been aable to create a data link to this library with Access, so I know that works, but that does not give me the type of connection I need for the .net application.

Answer Wiki

Thanks. We'll let you know when a new response is added.

It sounds to me like an authority issue. Does your user ID and does the Library allow access from the file?

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Brijesh
    The catalog library list property determines which libraries are searched during an unqualified catalog or schema request. This prevents the request from searching all libraries on the system which can cause long delays and performance problems with the PC application. This property should be a comma separated list of libraries, and may contain the following special values:

    *USRLIBL - The library list of the user is added to the value of this property.
    *ALL - All libraries on the system are searched. This is not a recommended setting.
    9,870 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following