We are running an nant task from cruisecontrol.net. The zip task fails with an error: "Access to path nnnn is denied". The path specified is a UNC path. When we run the same nant task manually from the command line, the task runs successful.
We've also tried to set up a domain user 开发者_如何转开发account, and switched the cc.net service to log in as that user.
Setting up a domain user account for CCNET is definitely a good starting point to solve the problem. If you're able to access the UNC path interactively logged in as this user, CCNET service should also be.
Cargo cult: Restarting the CI server (server - not service) solved the problem for us in a similar situation.
精彩评论