Cannot auto commit after update

Hello,

I am trying to figure out how to auto update a remote website (hosted on a Windows 2008 server) whenever changes are committed to the remote repository (located on same).

I am using this batch file in a post-commit hook...

cd\inetpub\vhosts\web.com\httpdocs
"C:\Program Files (x86)\VisualSVN Server\bin\svn.exe" update --username usera --password passa --config-dir "C:\Program Files (x86)\VisualSVN Server\conf"

If I run this locally at the command prompt, on the remote server, logged in as Administrator, it works. If I run it remotely, by doing an svn update from TortoiseSVN, the batch file fires, but no update occurs and no error messages are shown.

I have found a few websites explaining how to do this in an apache/linux/unix environment (see links below), but how can I do this in an IIS/windows environment using VisualSVN?

http://www.sematopia.com/2007/10/apache-svn-auto-update-server-copy-on-commit/ 
http://stackoverflow.com/questions/696662/svn-update-not-working-in-post-commit 

Has anyone got this to work in a Windows environment?

Thanks.
turpyaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cf13Commented:
Common problem on linux platforms are the user priviliges the script runs with.

Maybe it helps to check, wether the svn or the (web)server user have access to the working copy.
0
turpyaAuthor Commented:
Thanks cf13. What is the web server user called? Is it IIS_IUSR ?
0
turpyaAuthor Commented:
I have got around this issue for now by running the update batch file in a windows task every 5 minutes.

Please close this job.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Version Control

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.