Question

My system is Windows2008 R2 64bit, and i install VisutalSubversion Server. The post-commit.bat as the follow statement:

C:\nant\bin\nant -buildfile:C:\Repositories\xxx\hooks\xxx.build

When i commit file from client, it throw the errors

post-commit hook failed (exit code 1) with output: Access is denied.

But the post-commit.bat file can be run without errors when i manually clicked.

Anyone can help me? Thanks.

Was it helpful?

Solution

I read somewhere that the issue could be resolved by:

  1. Right click the svn.exe and click run as administrator.
  2. Change the VisualSVN Server service to "log on as Local system account".

I haven't tested it myself though.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top