Home > Ask the SQL Server Experts > Michael Hotek Questions & Answers > Problem trying to connect with the sa account
Ask The SQL Server Expert: Questions & Answers
EMAIL THIS

Problem trying to connect with the sa account

Michael Hotek EXPERT RESPONSE FROM: Michael Hotek

Pose a Question
Other SQL Server Categories
Meet all SQL Server Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 27 June 2004
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


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Michael Hotek
Applying LDF file to MDF without turning it to .BAK first?
Procedure for finding last modified info?
Migrating poorly designed database to new, normalized one
Displaying decimal places in SQL Server 2000
Creating a DTS package
Extracting data without strings converted to strange characters
Money data type conversion issue using DTS
Any way to alias a call to functions?
Repairing corrupt MDF files
In-place versus side-by-side upgrade

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SQL Solutions - SQL Database Design
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts