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
Solved

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

Posted on 2009-04-12
1
543 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
1 Comment
 
LVL 22

Accepted Solution

by:
dportas earned 125 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL query and VBA 5 45
SQL Syntax Grouping Sum question 7 24
Where is the Help Section? 8 25
question about results where i dont have a match 3 20
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

856 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