I am trying to get Source Safe to integrate with Fogbugz.
Our VSS database is on a separate server to Fogbugz. I have tried both the following:
Server 1:
- Fogbugz Installation (IIS and Database)
- updated vss_fbupdate.wsf to point to
share where VSS is located. Set VSS
username and password fields. - Scheduled Task setup to run the
script.
Server 2:
- VSS Database
- Old installation of Fogbugz (IIS has been stopped)
The information is getting correctly added to the CVS table in the Fogbugz database on Server 1 but I am getting the following error when trying to view the diffs from the Fogbugz Case.
The diff URL in the Fogbuz repository setup is:
default.asp?pg=pgShowVSSFileDiff&FILE=^FILE&R1=^R1&R2=^R2
The error is:
The Visual Source Safe USER and PASSWORD needs to be set in the registry for this script to work. Please add the following keys: HKEY_LOCAL_MACHINE\SOFTWARE\Fog Creek Software\FogBUGZ\C:/Program Files/FogBugz/website\VSSUser HKEY_LOCAL_MACHINE\SOFTWARE\Fog Creek Software\FogBUGZ\C:/Program Files/FogBugz/website\VSSPassword to the registry.
I have added the Keys to the Registry and set the default value to the correct username and password.
I have read that the VSS database and Fogbugz installation need to be on the same server so I have also tried the following:
Server 1:
- Current Fogbugz Installation
Server 2:
- VSS Database
- Previous version of Fogbugz that we used to use. (I ran setup to bring it up to version 7.2) with IIS turned back on and the http:// redirection turned off and made it point back to the fogbugz installation directory.
- Scheduled Task
- updated vss_fbupdate.wsf to point to
local C:\ location where the VSS Database is. Set VSS
username and password fields.
I still got the same Visual Source Safe error. Can anyone help me out or point me in the right direction?
Edit: Thanks for the response Michael, does this look right for the Registry Keys?
