?
Solved

Why does my sa account on SQL Server 2008 keep getting reset

Posted on 2009-04-12
1
Medium Priority
?
546 Views
Last Modified: 2012-05-06
I have SQL Server 2008 setup on my server and am facing an issue wherein, each time I restart the server and try logging in to the DB using the "sa" credentials I get the following error

A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (.Net SqlClient Data Provider)

I have to reset the "sa" account each time I restart in order to get rid of this error using

ALTER LOGIN sa WITH PASSWORD = 'new_password' UNLOCK

Any idea what might be going on here ?

Thanks,
Sudeep
0
Comment
Question by:cranialsurge
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 22

Accepted Solution

by:
dportas earned 375 total points
ID: 24126646
Are you capturing failed logins to the event log? Check that your SA login isn't being hacked causing lots of failed password attempts.

Avoid using SA at all. Use a domain login with the sysadmin role or create a different admin login called something other than SA.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question