Avatar of jptrue

asked on 

SQL Server Management Studio - Automatically Connect on Startup

I am trying to get the Object Explorer in Microsoft SQL Server Management Studio 2005 to automatically connect to a server on startup.
I have been able to get a query window to connect using the startup options:
"C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\SqlWb.exe"  -nosplash -S myServer -d myDatabase -U myUser -P myPassword
However, I am really looking to have the Object Explorer automatically connect.

Any help would be greatly appreciated!
Microsoft SQL Server 2005

Avatar of undefined
Last Comment
Avatar of rboyd56

Blurred text
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Admin_IT

From this webpage: http://www.databasejournal.com/features/mssql/article.php/3635126

Registered Servers Panel

Database server connections can be saved and organized in the Registered Servers panel. Once a server is registered, it can be managed and displayed in the Object Explorer panel. Below are the steps to create a new registration;

1.  Click the Database Engine icon. (The yellow cylinder under the words Registered Servers)

2.  Right click Database Engine inside the Registered Servers panel.

3.  Select New, Server Registration.

4.  Enter the server and connection information.

5.  Save

The other option listed under New was to create a Sever Group. Groups allow a collection of servers to be organized inside a common folder.

Right clicking on the server once it is registered allows you to Start and Stop the server. In addition, its Configuration Manager can be invoked.

Double clicking the new registration will connect the Management Studio to the database server and present it in the Object Explorer panel.
Microsoft SQL Server 2005
Microsoft SQL Server 2005

Microsoft SQL Server 2005 is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning. It includes support for managing XML data and allows a database server to be exposed over web services using Tabular Data Stream (TDS) packets encapsulated within SOAP (protocol) requests.

Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews


IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo