Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SQL 2008 rejects correct password when logging in to Management Studio

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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

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…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

636 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