WCF AddressAccessDeniedException

I am new to WCF.

I created a WCF service that worked, but when I try to host it in a console application, it gives me an exception:

AddressAccessDeniedException

host.AddServiceEndpoint(typeof(ISampleService), new BasicHttpBinding(),"http://localhost:8080/evals/basic");
+5
source share
1 answer

Right-click on Visual Studio and run it as an Administrator.

+7
source

All Articles