I hate to keep replying to myself, but it appears as though I have solved this...
I was getting an exception calling the SetSSDir() method in scc\VssRepository.cs. The
exception was due to having duplicate keys. A quick solution is below:
if (ssdir != null && ssdir != String.Empty)
{
Trace.WriteLine("Setting SSDIR environment variable to: " + ssdir, "VSS");
if (process.StartInfo.EnvironmentVariables.ContainsKey("ssdir"))
process.StartInfo.EnvironmentVariables["ssdir"] = ssdir;
else
process.StartInfo.EnvironmentVariables.Add("ssdir", ssdir);
}
Jim
-----Original Message-----
From: Geurts, James [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 4:20 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [Draconet-users] VSS problem with ssdir
Also, if it helps, this is what my definition looks like:
<vss>
<project>$/Department/Project</project>
<username>user</username>
<password>pass</password>
<ssdir>Z:\Source Safe\</ssdir>
</vss>
Note: Z is mapped to the server housing the source safe archives. I have also tried
the UNC path (\\servername\path\etc)
-----Original Message-----
From: Geurts, James [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 2:44 PM
To: '[EMAIL PROTECTED]'
Subject: [Draconet-users] VSS problem with ssdir
Hi... I'm trying to get Draco.Net setup and working with VSS. I ran into a problem
though. I set the ssdir in the draco.exe.config, but it doesn't seem to take effect.
When I run Draco, I get VSS returning error 100. So I looked through the log file and
grabbed the command that was being executed. When I tried running the command through
a dos window, I kept getting a prompt to login, even though I specified my
user/password in draco.exe.config. So then I proceeded to add the ssdir property via
"set ssdir=z:\ssdir~1" command through dos. Then I ran the ss.exe command again, and
it appears to have worked. The output was dumped correctly to a file in the
winnt/Temp folder. So now I'm a bit confused as to why the process executed via Draco
is failing. Can someone shed some light?
Thanks
Jim
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Draconet-users mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users