SOS 3.5.2 "Unable to create working directory"
Moderator: SourceGear
SOS 3.5.2 "Unable to create working directory"
Hello,
We are using SOS 3.5.2 with VSS 6.0 on Windows Server 2003. When doing a Show History and trying to get a Diff of two versions of a specific file the message "unable to create working directory" pops up. This does not happen with every file, but always occurs on specific files and versions. We have SOS verbose logging enabled and the message in the log is "access to the file \\xx-xxx\ess\data denied". The same procedure works correctly when using the VSS Explorer. Can anyone help solve this?
Thank you,
rpfeet
We are using SOS 3.5.2 with VSS 6.0 on Windows Server 2003. When doing a Show History and trying to get a Diff of two versions of a specific file the message "unable to create working directory" pops up. This does not happen with every file, but always occurs on specific files and versions. We have SOS verbose logging enabled and the message in the log is "access to the file \\xx-xxx\ess\data denied". The same procedure works correctly when using the VSS Explorer. Can anyone help solve this?
Thank you,
rpfeet
Hi Linda,
SOS is using a local system account to logon as a service, and the Everyone group has Modify NTFS permissions to the folder and Change permissions to the share. I just specifically added "system" to the NTFS and Share permissions and retried the operation, but it still failed with the same pop up message and log entry.
Thank you,
rpfeet
SOS is using a local system account to logon as a service, and the Everyone group has Modify NTFS permissions to the folder and Change permissions to the share. I just specifically added "system" to the NTFS and Share permissions and retried the operation, but it still failed with the same pop up message and log entry.
Thank you,
rpfeet
Could you reproduce this error again and then send me a copy of the SOS log.txt file in the SOS Server directory?
Email to linda@sourcegear.com
Email to linda@sourcegear.com
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Hi Corey,
When I do a Get of either of either historical version the first file version succeeds and it is placed in my working directory. The second version fails and these two entries are written to the log.txt file: "Begin Get File Operation: xxx.mx" and "Access to file "\\xxx\ess\data" denied".
rpfeet
When I do a Get of either of either historical version the first file version succeeds and it is placed in my working directory. The second version fails and these two entries are written to the log.txt file: "Begin Get File Operation: xxx.mx" and "Access to file "\\xxx\ess\data" denied".
rpfeet
This is what I'm doing. Please let me know if it is incorrect.
1) Right click a specific file and select Show History
2) Highlight file version X and click on Get (Receiving file...it succeeds)
3) Highlight file version Y and click on Get (operation failed)
Changing the X, Y order didn't make a difference...Y always fails and X always succeeds.
rpfeet
1) Right click a specific file and select Show History
2) Highlight file version X and click on Get (Receiving file...it succeeds)
3) Highlight file version Y and click on Get (operation failed)
Changing the X, Y order didn't make a difference...Y always fails and X always succeeds.
rpfeet
Okay. That makes more sense. Previously, I thought you were saying that order made a difference.
Is it just one version in history that you cannot retrieve or is it one version and all older versions?
It could be some VSS database corruption. Have you run Analyze on your database recently?
Is it just one version in history that you cannot retrieve or is it one version and all older versions?
It could be some VSS database corruption. Have you run Analyze on your database recently?
Corey Steffen
SourceGear LLC
SourceGear LLC
It seems only one version that is having the problem. The same procedures work when we use the SourceSafe client and every four to five weeks we run analyze. We use the fix switch everytime but the compress switch is only used about once every four months or whenever the developer wants it run that way.
If there's just one version in history that you cannot retrieve, could you possibly archive off just that one folder and send it to us for debugging? It appears that the SourceSafe automation component is unable to retrieve that version, but we may be able to determine why by looking at it in a debug session.
Corey Steffen
SourceGear LLC
SourceGear LLC