Problem trying to connect with the sa account

I have installed SQL Server 2000 on my machine. The problem is that when I try to register SQL Server through Enterprise Manager using SQL Server Authentication (i.e.sa) it gives me error code:18452 "Not trusted Connection. Login failed for sa". But if I try through WINDOWS NT Authentication it works fine. I think the SQL Server installation was done using WINDOWS NT. Authentication. How do I connect using sa? Should I reinstall or is there some other way?

You can not connect using the sa account if you have installed your SQL Serevr using intergrated security. If you...

are an administrator on that machine, why would you even want to connect using the sa account. Your Windows credentials give you admin access to the SQL Server. They are also much more flexible and a much better choice than using the sa account. Additionally, having the SQL Server installed this way protects you from all of the stupid security problems developers create by embedding the sa account into their applications.


For More Information

This was first published in June 2004

Dig Deeper on Microsoft SQL Server Installation

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.



Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: