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)
 Cannot login to server: not associated with trusted SQL server connection

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-03-31 : 22:42:32
Neil writes "This is my first time ever trying to install/configure/use MS SQL.
I just installed SQL 2000 on a Windows NT system w/SP 5. I see that the SQL server is registered in SQL Enterprise Manager.
The server is registered to use Windows Authentication.
When I try to use 'isql' or 'osql' from the command line on the same system on which I installed the server, I get an
error, indicating that "login failed ... not associated with a trusted SQL server connection".
I attempted to connect from the same userid under which I created the database. Why doesn't SQL server authenticate me
to the database? Do I need to create an association between the NT login and SQL server? How do I do this.

Help!
-- Nils"

nr
SQLTeam MVY

12543 Posts

Posted - 2002-04-01 : 00:07:08
You either need to map your nt user to the server and database (trusted security) or allow mixed security on the server and add the login and map it to a user in the database.

==========================================
Cursors are useful if you don't know sql.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -