Netsh not working for AddressAccessDeniedException: HTTP could not register URL

When another developer tried to start the service through vs 2010, they received an error:

Please try changing the HTTP port to 88 or running as Administrator. System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http://+:88/ColorService/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details). ---> System.Net.HttpListenerException: Access is denied

After doing some searches and clicking on the link provided by Microsoft, I made them run the following command:

netsh http add urlacl url = http: // +: 88 / ColorService user = BUILTIN \ Administrators

The error still occurred, so I also asked them to run a command with their domain \ User

netsh http add urlacl url = http: // +: 88 / ColorService user = DOMAIN \ User

The above still didn't work, so I found the tool on the following link to try and give access to NT Authority \ Interactive, but that didn't work either.

, , :

http:\\localhost:8732\Design_Time_Addresses\ColorService, .

?

DNS- , ? ? :

 <Host>
     <dns>localhost<dns/>
 </Host> 
+3
1

. app.config , :

<host>
<baseAddresses>
    <add baseAddress="http://ttintlonape01:6970/janus/data" />
</baseAddresses>

... http://+:80/janus/data, .

WCF ( , ) - < clear/ > . .

<service behaviorConfiguration="ServiceBehavior" name="TT.Janus.Service.DataProvider">
<clear />
<endpoint address="net.tcp://ttintlonape01/janus/data" binding="netTcpBinding"
    bindingConfiguration="NoSecurityBinding" contract="TT.Janus.Service.IDataProvider" />
<endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" contract="IMetadataExchange" />
<host>
    <baseAddresses>
        <add baseAddress="http://ttintlonape01:6969/janus/data" />
    </baseAddresses>
</host>

+2

All Articles