HTTP could not register URL

I am trying to start my Dynamics NAV Service Tier and I get the message above. This error is listed in the system event log and can be read using the Event Viewer.

When you see and error message that looks like this:

HTTP could not register URL http://+:7047/DynamicsNAV70/. Your process does not have access rights to this namespace

Then you have to use theĀ netsh command to remove the wrong entries and add the new correct entries.

First, you get a list of existing entries in af file by running this command in a command line with administrative privileges.

netsh http show urlacl > acl.txt

Then you open the file and look for the entry blocking your port. Use the URL listed in the file to remove the entry using this command:

netsh http delete urlacl url=https://+:7048/DynamicsNAV100/

Finally, you can add the correct URL. This URL is part of the error message in the Event Viewer and can be copied from there.

netsh http add urlacl url=http://+:7047/DynamicsNAV70 user="NT AUTHORITY\NETWORK SERVICE" listen=yes
netsh http add urlacl url=http://+:7048/DynamicsNAV70/OData user="NT AUTHORITY\NETWORK SERVICE" listen=yes


Leave a Reply