Skip to first unread message


Feb 25, 2011, 7:46:23 PM2/25/11

YaY! YOU FRIGGIN ROCK! Thank you so much! You dont know how bad this
was affecting my work!

Because you helped me so much, I'm gonna return the favor and help
those who dont know how to update the hosts file.

We have Visual Source Safe 2006 and Visual Studio 2008.
Our VSS database is on a network drive.

Step 1 - Determine which server\computer the VSS Database is on:
In Visual Studio 2008 select File->Source Control->Change Source
Control. Note the "Server Name". You're only interested in the server
name which is the value between the beginning back slashes and the
next backslash. In my case it is dddmisfile
Step 2 - Determine the ip address of the server: Open a Command Prompt
(start->Run type cmd and press enter) and ping your server name (type
ping YOURSERVERNAME in the command prompt box). I typed ping
dddmisfile and this is what I got:
c:\>ping dddmisfile

Pinging dddmisfile.azdes.gov [] with 32 bytes of data:

Reply from bytes=32 time=-52ms TTL=128
Reply from bytes=32 time=-52ms TTL=128
Reply from bytes=32 time<1ms TTL=128
Reply from bytes=32 time<1ms TTL=128

Ping statistics for
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = -52ms, Average = 1073741798ms
The IP Address you are interested in is the one that follows Reply
In My case its

You're also interested in the fully qualified domain name: which is
the name of the server with the domain appended to it. In My case its

Step 3 - Add a line to your hosts file with any text editor Open the
file with notepad. Type this in the run box (Start->Run)
This is what I see before I modify it:
# Copyright (c) 1993-1999 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host
# The IP address and the host name should be separated by at least one
# space.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# rhino.acme.com # source server
# x.acme.com # x client host localhost
To add your server name to this list, simply add a new line and type
the ip address then press tab then the fully qualified domain name: dddmisfile.azdes.gov
Thats it! Close Notepad and you're done! Dont even need to reboot!
Dont for get to save your changes!

Reply all
Reply to author
0 new messages