FogBugz Technical Support

A forum for technical support discussion related to Fogbugz.
The current FogBugz Knowledge Base can be found at http://help.fogcreek.com/fogbugz.

Posts by Fog Creek Employees are marked:

Documentation
Release Notes
Network Status

Source Safe database on network share

Hello,

Thanks once again for your quick answer Michael!

I'm allmost done with the configuration of our FogBugz installation. However, I have struggled some time with the source safe diffs. This is the error message that I get when I try to diff:

File:  /showVSSdiff.asp 
Line:  215 
Error:  The SourceSafe database path fogbugz does not exist. Please select another database. 
Browser:  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; IEUSer @ Atlas Copco; .NET CLR 1.1.4322; .NET CLR 2.0.40607; .NET CLR 1.0.3705) 
Number:  0x8004D117 
Category:  SourceSafe 
Column:  -1 
QueryString:  pg=pgShowVSSFileHist&FILE=X:%5CSystem%5C$Work:$//Readme.txt 
URL:  /default.asp 

Our source safe database is mapped to network drive X:.

I've googled quite a bit on this (this article describes the error message quite extensively: http://msdn.microsoft.com/msdnmag/issues/0900/hood/). The conclusion I've come to is that this message occurs when the SourceSafe com+ object doesn't have sufficient rights to access the network drive.

Suggested solutions includes e.g. using impersonation. However, not being an IIS expert, this is beyond my knowledge. Do you have any suggestions?

/Tobias
Tobias Furuholm Send private email
Wednesday, January 18, 2006
 
 
I would add some debugging output to that script at line 215 to get the exact arguments it is trying to pass first.

You can use

Response.write variablename
Response.end

and it will write out the value.
Michael H. Pryor Send private email
Wednesday, January 18, 2006
 
 
Hello,

This was the first thing I tried when the error occured, and I was surprised to see that the arguments are the ones you would expect them to be! I am not at my work computer at the moment, so I don't have access to the code, but I can assure you that the variables are correctly initialised.

Below is a quote from the article on msdn mentioned in my first post (this guys problem seems to be similar to ours) that I found interesting:
"Doubting my sanity at this point, I went back to Ken Ramirez's article and substituted his VSSDatabase::Open call for mine, but substituted my values. Still no luck. However, I did notice that Ken's code used a srcsafe.ini file from a local hard drive, while I was using a srcsafe.ini file on the network. On a lark, I changed my code to use a local copy of srcsafe.ini, and lo and behold, it worked!"

Have you (or anybody else) tried to connect to a VSS database on a network drive? Do you have any further advice?

/Tobias
Tobias Furuholm Send private email
Wednesday, January 18, 2006
 
 
Yes, I've seen people connect to a network drive.  You have to give the fogbugz user full permissions on that drive (and the subdirectories).

You could try just writing a small smidgen of a .vbs script using the same code as the asp page and running it from that machine to see if you have the same problem.

Then do a "runas FogBugz cmd" and try it from that cmd prompt (running as fogbugz) and see what happens.
Michael H. Pryor Send private email
Wednesday, January 18, 2006
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz Bug Tracking and Evidence-Based Scheduling.