Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connection error

Status
Not open for further replies.

Paully1999

Programmer
Joined
Nov 29, 2000
Messages
6
Location
US
I have two servers 1 NT4 trying to access a Win2000 SQL 2000 server. They are in the same Workgroup not domain. when I attempt to connect I get the following

[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

The test DSN connection works fine though. This is my connection string

Conn.Open "DSN=MyDSN;UID=sa;PWD=test;TRUSTED_CONNECTION=NO;APP=ASP script"

Please help!
 
Run the sql server client network utility on the client machines and make sure you are connecting with tcp/ip not named pipes. Named pipes requires security authentication or allowing guest logons.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top