WCF accessDeniedException
-
Good afternoon to all. Here's my problem: I've created a WCF service and now I'm trying to install it with Installer project on target machine as administrator. host = new ServiceHost(serviceType, serviceUri); host.Open(); And here's exception: HTTP could not register URL http://+:8282/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details) When I start serviceCore as console application - it works fine. What I'd tried: - netsh; - manifest with highestAvailable; - turn off UAC; ServiceInstaller is NetworkService, target machine OS is R2, domain user has adm rights.
-
Good afternoon to all. Here's my problem: I've created a WCF service and now I'm trying to install it with Installer project on target machine as administrator. host = new ServiceHost(serviceType, serviceUri); host.Open(); And here's exception: HTTP could not register URL http://+:8282/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details) When I start serviceCore as console application - it works fine. What I'd tried: - netsh; - manifest with highestAvailable; - turn off UAC; ServiceInstaller is NetworkService, target machine OS is R2, domain user has adm rights.
weird indeed. i guess you have problems with your installer, does it run under privileged rights? which framework are u using etc... ?
-
Good afternoon to all. Here's my problem: I've created a WCF service and now I'm trying to install it with Installer project on target machine as administrator. host = new ServiceHost(serviceType, serviceUri); host.Open(); And here's exception: HTTP could not register URL http://+:8282/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details) When I start serviceCore as console application - it works fine. What I'd tried: - netsh; - manifest with highestAvailable; - turn off UAC; ServiceInstaller is NetworkService, target machine OS is R2, domain user has adm rights.
Please do not repost... http://www.codeproject.com/Messages/4268498/WCF-service-as-Windows-Service.aspx[^]
""Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon