2

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?

http://i42.tinypic.com/154jzac.jpg

flag
See my updated answer. – Michael Pryor Apr 30 2010 at 14:49

1 Answer

1

UPDATED: Instead of making the VSSUser and password be "folders" or "keys" where they are, you should make them be actual string values. So right click on the "C:/program files..." folder and choose "New String Value" and name it VSSUser and set the value to the username.

link|flag
Hi Michael, I have edited my original post and added the screenshot. Have I just set up the registry settings incorrectly? Thanks, Kate – Kate Apr 23 2010 at 0:22
Kate, I've sent you an email to help out – adambox May 13 2010 at 16:04

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.