cwbsy1006 - user id is invalid

A

Amaryllis

Hello,

I am writing an ASP.NET application and trying to connect to an as400
using an ADODB connection. I recently completed a Windows
application that connects to the 400. Mt code works in the Windows
worl, so theoretically, it should work for the ASP application as
well. But it doesn't. I keep getting the error CWBSY1006 - User ID
is Invalid. I'm using my Windows login information to automatically
log into the 400, so a userid and password is not required. Here is
my code. Any ideas would be greatly appreciated.

Thanks,
Amaryllis

AS400.Define("S1021446")
AS400.Connect(cwbx.cwbcoServiceEnum.cwbcoServiceDataQueues)
conn400 = New ADODB.Connection
conn400.ConnectionString = "Provider=IBMDA400.DataSource.1;" & _
"Data source=S1021446"
conn400.Open()
 
A

Amaryllis

Thanks for your help, but that was one of the first things I checked
when I got the error. Usually, connections are fairly easy for me to
figure out, but I'm at a loss on this one.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,059
Members
48,769
Latest member
Clifft

Latest Threads

Top