September 13, 2002 at 8:02 am
I have a visual basic.net web applicatin with a connection to a sql server 2000 database using NT logon. It connects fine in design mode but when I run it I get the error: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
Does anyone know why I am getting this???
thanks
September 13, 2002 at 8:48 am
Can you post your connect string?
Andy
September 13, 2002 at 8:50 am
I think I figured it out. Instead of the NT login, I used a specific login and password and had to allow password saving.
thanks
September 13, 2002 at 9:39 am
Andy, I would like to use integrated nt security though so I don't have to save the password. Here is my connect string:
data source=DBSERV2;initial catalog=PELDMS;integrated security=SSPI;persist security info=False;workstation id=DTHOMPSON02;packet size=4096
September 13, 2002 at 11:56 am
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply