Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WCF Service not running without Administrator rights

Tags:

wcf

wpf

I am new to WCF. I have a WCF service which I am hosting in a WPF application, while running the service it requires admin rights. Every time I have to right click the application which host my service and select "Run As Administrator". How can I make the service run on Windows 7?

like image 443
Vibhore Tanwer Avatar asked Sep 21 '12 11:09

Vibhore Tanwer


Video Answer


1 Answers

I could not get what exactly my question was asking, but I got a workaround. Admin rights are needed only if you are using http bindings with WCF. I switched to netTcpBinding and it worked for me. It's not exactly what I asked, but worked for me. Maybe it will help someone facing similar issues.

like image 64
Vibhore Tanwer Avatar answered Sep 30 '22 08:09

Vibhore Tanwer