WCF Service Host - Service does not register port if it does not execute VS as Administrator

0

Hello, when trying to run a WebService of type ServiceLibrary. WCF Service Host gives me the following bad news:

  

PleasetrychangingtheHTTPportto8733orrunningtheAdministrator.  System.ServiceModel.AddressAccessDeniedException:HTTPcouldnot  registerURL link . Your process does not have access rights   to this namespace (see link   for details). --- > System.Net.HttpListenerException: Access Denied

If I start Visual Studio as an Administrator, I can run the service.

But how can I solve this without running Visual Studio as an administrator?

    
asked by anonymous 06.06.2016 / 16:10

0 answers