Visual SourceSafe (VSS): "Access to file (filename) denied" error
- by tk-421
Hi, can anybody help with the above SourceSafe error?
I've spent hours trying to find a fix. I've also Googled the heck out of it but couldn't find a scenario matching mine, because in my case only a few files (not all) are affected.
Here's what I found:
only a few files in my project generate this error
other files in the same directory (for example, App_Code has one of the problem files) work fine
I've tried checking out from both the VSS client and Visual Studio
another developer can check out the main problem file without any problems
This sounds like a permission issue for my user, right? However:
I found the location of one of the problem files in VSS's data directory (using VSS's naming format, as in 'fddaaaaa.a') and checked its permissions; everything looks fine and its permissions match those of other files I can check out successfully
I can see no differences in the file properties between working and non-working files
What else can I check? Has anyone encountered this problem before and found a solution?
Thanks.
P.S.: SourceGear, svn or git are not options, unfortunately.
P.P.S.: Tried unsuccessfully to add tag "sourcesafe."
EDIT: Hey Paddy, I tried to click 'add comment' to respond to your comment, but I'm getting a javascript error when loading this page in IE8 ("jquery undefined," etc.) so this isn't working.
This is when checking out files, and yes, I've obliterated my local copy more times than I can remember. ;)
EDIT 2: Thanks for the responses, guys (again I can't 'add comment' due to jQuery not loading, maybe blocked as discussed in Meta).
If the problem was caused by antivirus or a bad disk, would other users still be able to check out the file(s)? That's the case here, which makes me think it's a permission issue specific to my account. However I've looked at the permissions and they match both other users' settings and settings on other files which I can check out.