Solved

SQL 2008 rejects correct password when logging in to Management Studio

Posted on 2010-08-24
3
453 Views
Last Modified: 2012-05-10
Hi everyone,

I have a strange problem that's slowing me down a bit here...

Whenever I connect to a particular server in Management Studio 2008, I use SQL authentication. I can type the password manually and it is accepted. However, whenever I choose "Remember password" it stops working. I am able to log in that time, (i.e. while it's saving the password) but any subsequent times when it is retrieving the saved password to log me in, it fails with:

Login failed for user 'username'. (Microsoft SQL Server, Error: 18456)

Does anyone have any solution to this?

Server: SQL Server - 10.50.1600
App: Microsoft SQL Server Management Studio - 10.0.2531.0
Client: Windows 7 Ultimate x64

Thanks,

- Ken
0
Comment
Question by:Ken_Lyon
[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
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
tickett earned 50 total points
ID: 33513234
Maybe try: http://www.methodicmadness.com/2009/06/clearing-sql-2008-management-studio.html

It may have an old incorrect password stored. I suggest renaming the file not deleting it (in case you want to restore it afterward).

L
0
 

Author Closing Comment

by:Ken_Lyon
ID: 33513314
Wow, that's amazing. I've never had such a speedy answer to a question. Thanks so much! It solved my problem to rename that file and let it generate a new one.
0
 

Author Comment

by:Ken_Lyon
ID: 33513322
In case that link ever breaks, the solution was to delete/rename this file:

C:\Users\{username}\AppData\Roaming\Microsoft\Microsoft SQL Server\100\Tools\Shell\SqlStudio.bin

Subsequent use of SQL Server Management Studio re-created the file and the problem did not exist any more.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
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.
Viewers will learn how the fundamental information of how to create a table.
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.

724 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