开发者

System.UnauthorizedAccessException using NAnt with CCNet

I'm trying to copy file to network path like '\\serverA\开发者_如何学Godestenation\file', but fail with Unauthorized Access exception. I have tried change ccnet service LogOn account, but without results. If I run this Task from console, it does executes.

Any advise would be appreciate. Thanks


If the ccnet service is running as Local System account, it won't have any network permissions. Trying configuring the service to run as your account. If that succeeds, you should then create, or find, a user that both has the appropriate rights to access the network resource and adheres to the principle of least privilege

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜