SQL Server connection lost when SA password is changed

I'm having a problem with SQL Server 2000 connectivity. I have a domain and this SQL Server is on the same domain. But, whenever I change the administrator password, the SQL Server loses its connectivity with its clients. Can you tell me what the problem is?

    Requires Free Membership to View

    By submitting your registration information to SearchSQLServer.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSQLServer.com is governed by our Terms of Use. You may contact us at [email protected].

Without seeing any of the source code, this is hard to troubleshoot. However, it sounds like the password to the administrator account (and here I'm assuming you mean the "SA" account) is hard-coded into whatever client-side application you're using. When you change the password on the server, the clients all fail because they are unable to login. Check the SQL error log to confirm this (look for authentication failures). You may need to re-write the client-side application to make the password configurable instead of hard-coded.

This was first published in December 2007

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.