x

Why does SSMS duplicate server names?

I've got SQL Server 2008 Developer Edition installed on my Windows 7 development box. I use it to connect to our production and test SQL Server 2005 servers and databases. Plus yesterday I created a SQL 2008 Express database on my Win7 machine.

However, something odd happens in SSMS. When I get into SSMS it pops up the "Connect to Server" dialog box. I've noticed that a couple of server names are duplicated. For example, now I've got 2 server names for SQLEXPRESS, both the same name, on my Windows 7 machine. Why is that?
more ▼

asked May 24 '11 at 07:48 AM in Default

Rod gravatar image

Rod
801 46 50 52

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first
Different connection methods, perhaps? Have you connected once using windows credentials, and again using a sql server userid/password?
more ▼

answered May 24 '11 at 07:54 AM

ThomasRushton gravatar image

ThomasRushton ♦
33.3k 14 20 44

Yes, I have connected using different credentials, but to different servers. For example, for our SQL Server 2005 servers/databases on our Windows servers, I connect via SQL Authentication. However, with this new SQL Express database I'm connecting with Windows Authentication.
May 24 '11 at 08:32 AM Rod
The ugly workaround is to delete your most recently used list, as this connect item indicates - http://connect.microsoft.com/SQLServer/feedback/details/424800
May 24 '11 at 09:53 AM KenJ
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x562
x123
x3

asked: May 24 '11 at 07:48 AM

Seen: 1312 times

Last Updated: May 24 '11 at 07:48 AM