Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Connecting to SQL Server 2000 from ASP

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-02-25 : 09:01:39
Steve writes "I am trying to connect to an sql database and I get the following error.

Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'SERVERNAME\IUS_SERVERNAME'.

The connection string is cn.Open "Language","user","password"

The DB name, user and password are correct and the user exists in the database.

Thanks in advance of any advice or help."

andre
Constraint Violating Yak Guru

259 Posts

Posted - 2002-02-25 : 10:08:44
Sounds like you are using NT authentication. If so, have you tried including the domain in the username?

Go to Top of Page
   

- Advertisement -