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

Asked

Viewed 270 times

0

Hello, while trying to run a Servicelibrary type Webservice. WCF Service Host gives me the following bad news :

inserir a descrição da imagem aqui

Please Try Changing the HTTP port to 8733 or running as Administrator. System.ServiceModel.Addressaccessdeniedexception: HTTP could not Register URL http://+:8733/. Your process does not have access Rights to this namespace (see http://go.microsoft.com/fwlink/? Linkid=70353 for Details). --> System.Net.Httplistenerexception: Access denied

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

But it has to solve this, without running Visual Studio as an administrator?

  • Already tried the administrator permission for the application?

  • No. How do I do that?

  • Take a look here.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.