can use drive mapping to connect to a VSS db remotely. I must warn
you though, this is an interesting hack but it's slower than a dead
banana slug on a wet Seattle morning. If you want to do
any work on the files in a VSS 6.0 or earlier database from
home, do yourself a favor and connect over a VPN using terminal services
(Run->MSTSC). Here are the details of my hack (subcategory: very stupid
stuff you can do with vss):
+Windows 2000 or
+Internet Information Services installed (I have 5.0)
+Windows 2000 and later
On the Server:
Using VSS Admin, create a test database called "TestDB" in C:\TestDB. 2. Open
the Internet Information Services MMC snapin using Computer Management.
3. Under "Web Sites", right-click on
'Default Web Site' and select "New->Virtual Directory..."
4. Alias =
"TestDB" and Directory = C:\TestDB.
5. For 'Access Permissions' select each
of the following: Read, Run, Write, Browse.
6. In the IIS tree, right-click
your new virtual directory, TestDB and select 'Properties'.
7. Select the
Directory Security tab and then click the 'Edit' button.
8. In the
'Authentication Methods' dialog box, select only 'Windows Authentication'.
(Note: This is the most restrictive and secure configuration. All users
who attempt to access items in the TestDB virtual directory will have to have
read\write access to the VSS database directory as well.)
On the Client
(repeat these steps for each client):
1. Start the Windows "WebClient"
service using Computer Management and set it to start automatically. 2.
Open the command line (Run|"cmd" [not 'run dmc']:) and map a drive to the
virtual directory on the server (step 4 above) using the following command
syntax. Note: replace 18.104.22.168 with the IP address of the server
Net use * http://22.214.171.124/TestDB
color=#0000ff size=2>(Note: at this point, you may or may not be prompted for
your "name", which is DOMAIN\userid and your network password) 3. A message
appears, "Drive [DriveLetter] is now connected to http://126.96.36.199/TestDB.
The command completed successfully."
4. Map another drive to the one you
just created. Assuming that the first [DriveLetter] = X, type the following at
Subst P: X:\
5. Open Visual SourceSafe and
click File | Open SourceSafe Database.
6. In the 'Open SourceSafe Database'
dialog box, click Browse. 7. In the 'Find Database' dialog box, type "P:\" in
the 'File Name' box, select the srcsafe.ini file, and then click
*If you don't know your server's IP address, you can type
"ipconfig" at the command prompt to find out.
no warranties, and confers no rights. size=2>
der Inhalte in dieser Blog keine Haftung übernehmen.
מסופקת "כפי שהיא" ללא כל אחריות או חיובים, ואינה נותנת לך זכויות