Access denied on 'db \ txn-current-lock' to commit SVN on Windows

I am running VisualSVNServer on a remote server (Server 2007 R2) and Tortoise SVN 1.6.12 x64 on my Windows 7 machine. I have created a repository on the server and I can review it and check it again. When I add files (which it allows me to do) and then commits, I get the following error

Cannot open file 'C: \ Repositories \ Test \ db \ txn-current-lock': access denied

I set read and write permissions in VisualSVNServer and gave my user ID full control over the repository directory. I read about how to fix this on Linux, but I am running Windows 7. Any help would really be appreciated. Thanks

+5
source share
3 answers

You need to assign Read / Write permissions to C:\Repositories\Test\(recursive) for the user account under which your server is running (by default, "Network Service").

(In Windows Explorer, go to "C: \ Repositories", then right-click on the folder "Test" | Properties | Permissions ).

See the Knowledge Base article "Permissions Required to Start VisualSVN Server" .

+14
source

I had the same problem on Windows XP SP3. The VisualSVN Server Login service must be a local service, not a local service.

( β†’ β†’ β†’ β†’ VisualSVN Server β†’ β†’ , )

+1

I ran into this problem after using SVN for over a year. The solution that worked for us was to restart the SVN service on the server machine. Hope this helps!

0
source

All Articles