![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I just installed Windows 7 64-bit with SQL Server 2008 Enterprise and VS 2008. When I try to create a connection to a database, and hit Refresh to have the available servers show up, it only shows SQLEXPRESS but not MSSQLSERVER. I went into the Configuration Manager and disabled SQLEXPRESS and left only MSSQLSERVER running, and it still only shows SQLEXPRESS. If I type in (local) as the server name, it will work (if I type in MSSQLSERVER, it does not work). This happens everywhere I'm asked for a server name, including e.g. when I log onto SSMS or when I try to set up a connection string in VS. How do I get MSSQLSERVER to show up on the server list? |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
For a default instance, the instance name is the machine name. You can manually type the machine name into the server name field for a connection. After that, the next time you open the SSMS, the server name should appear in the list. Best regards, Charles Wang . |
#5
| |||
| |||
|
|
That works for SSMS. However, for example, when I'm in Visual Studio (2008 SP1), and I click on Solution Explorer->Project->Settings, and I try to enter a Connection String, and I click the ellipsis (...), and I click the pulldown menu for Server name, it's still not showing ASUS3 (the name of my PC). If I manually type in "ASUS3" or "(local)" or ".", it will work, but it is annoying that ASUS3 doesn't come down on the pulldown menu. I have another PC operating the exact same operating system (Windows 7 64 bit) with the exact same software included, and it does show the computer name (ASUS2 in that case) on the pulldown menu. -- Ed ""Charles Wang [MSFT]"" wrote: For a default instance, the instance name is the machine name. You can manually type the machine name into the server name field for a connection. After that, the next time you open the SSMS, the server name should appear in the list. Best regards, Charles Wang . |
#6
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |