We help IT Professionals succeed at work.

VSS 2005 Access logs ???

NetMaxtor
NetMaxtor asked
on
Hi Experts,

I was looking for VSS users access logs and I have a found a options in

# MS-Visual Source Safe Administrator >> Tools >> Options >> General Tab >> I gave a path to "Log all actions in a journal file"

But still it not logging anything.

Please advice ! Thanks !
Comment
Watch Question

anyoneisSoftware Developer
Top Expert 2006

Commented:
Works great for me. Do the users all have modify permissions for the file you specified?


David

Author

Commented:
My VSS server is located in a windows 2003 AD environment and I already granted the Everyone full permission in the security tab. (But I didn't share shared the location)
Any idea ?
anyoneisSoftware Developer
Top Expert 2006

Commented:
I don't understand " I didn't share shared the location". Does everyone have the right to modify the directory where the log is located? How about trying to put the log where the ini file is located for a test.

David

Author

Commented:
I have created this file out side from the main VSS DB folder. (which is shared for all users)
Now moved the log file in to that VSS DB folder.
anyoneisSoftware Developer
Top Expert 2006

Commented:
Did it help? VSS is a non-server based product, so in effect, each user has all of the server code running under his or her account when he/she accesses the code repository. Hence the requirement to share everything with modify permissions.

Author

Commented:
still no luck it seems !!! But i'll update !

Author

Commented:
anyoneis: still its not write anything. Following were my actions

1. Placed the log file out side of the VSS repository folder and granted everyone full access
2. Placed the log file in side the VSS repository folder and granted everyone full access

both didn't work !! and giving a error message "In valid DOS path "C:\PATH TO LOG FILE"

Please advice !
anyoneisSoftware Developer
Top Expert 2006

Commented:
Invalid DOS path" is weird - I can't imagine how that is happenning, What exactly diod you give for the Journal file?

Author

Commented:
I just put a file name, and it's created file without a extension, is it wrong ?
Please advice !
Software Developer
Top Expert 2006
Commented:
No extendsion os ok, but you need to use a rooted path, such as "C:\Copy of Path\VssLog". Otherwise, you get that "invalid path" message.  Try this:

1) Close SourceSafe.
2) Open the adminb tool
3) Select  Tools Options
4) Use the browse button to select a directory.
5) Say Open, then add on a file name for the journal
6)CLock OK
7) Open up SourceSafe
8) Check out a file and edit it. - (Make a change!)
9) Check the file back in.
10) I beleive you will find a journal entry

David

Author

Commented:
Finally I found the issue ! Log generation path should be a UNC path since networked people accessing the VSS repository !

So I shared the location and given the necessary windows permission and after that I entered the path like \\VSS-Log\AccesLog

Now it's working fine !!  Thanks for your help David !

Author

Commented:
I found the resolution !
anyoneisSoftware Developer
Top Expert 2006

Commented:
Glad you found it! The docs are not very helpful on that one. But, in retrospect, it makes sense,

Caio,
David

Explore More ContentExplore courses, solutions, and other research materials related to this topic.