0
votes

How can I configure my WCF service to run under the administrator account? (this is not for production, just testing).

Is it simply a web.config tweak?

IIS 7 hosted WCF service.

2
How are you hosting your service?Yossi Dahan

2 Answers

2
votes

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.