?
Solved

SQL 2008 rejects correct password when logging in to Management Studio

Posted on 2010-08-24
3
Medium Priority
?
455 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 200 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Suggested Courses

777 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