How to: Add New Servers in Server Explorer

Server Explorer displays links to servers beneath the Servers node. After a server connection is established, you can design programs to open the connection, browse the server, and retrieve and manipulate the data available.

Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Customizing Development Settings in Visual Studio.

  1. Select Connect to Server on the Tools menu, or click the Connect to Server icon in Server Explorer.

    The Add Server dialog box opens. For more information, see Add Server Dialog Box.

  2. In the Computer text box, enter the name or IP address of the server.

  1. In Server Explorer, expand the Servers node.

  2. Right-click the server that is no longer needed.

  3. Select Delete from the shortcut menu.

    There is no effect on the actual server. You are removing the link from your view.

To reconnect to a remote server as a different user

  1. Delete any existing connections to the remote computer as the desired user.

    You cannot create multiple connections to a remote server as the same user of that computer. This includes NET USE connections.

  2. Select Connect to Server from the Tools menu, or click the Connect to Server icon on the toolbar.

    The Add Server dialog box opens.

  3. In the Computer box, enter the name or IP address of the server.

  4. Select Connect using a different user name.

    The Connect As dialog box opens.

  5. Enter a new user name and password.

  6. In the Computer box, enter the name or IP address of the server.

To reconnect to a server on your local computer as a different user

  1. Quit Visual Studio and all other programs currently running on your computer.

    You must connect to a server located on your own computer as the current user of that computer.

  2. On the Windows Start menu, select Shut Down.

    The Shut Down Windows dialog box appears.

  3. Choose Log Off.

    The Log In dialog box appears.

  4. Enter a new user name and password.

  5. Open Visual Studio, and select Connect to Server on the Tools menu or click the Connect to Server icon on the toolbar.

    The Add Server dialog box opens.

  6. In the Computer box, enter the name of the desired server on your computer.

See Also

Tasks

How to: Add Items from Server Explorer

Other Resources

ASP.NET Data Access Options