If you are hosting it as an ASP.NET service, you should run IIS process as the administrator account. If you are hosting it under a Windows service, you should configure it to run as an administrator.
2
votes
under IIS 7 make sure the service runs under an application pool configured to run under the desired user.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more