- The Richest Man in Babylon – George S. Clason
- Rich Dad Poor Dad – Robert T. Kiyosaki
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
Error Starting NAS on NAV 2015
When I tried to start the NAS on Dynamics NAV 2015 for the first time, I ran into this problem in the event log:
Server instance: DynamicsNAV80 The Microsoft Dynamics NAV Application Server session for tenant 'default' has permanently failed and will not be restarted. Reason: Type: Microsoft.Dynamics.Nav.Types.NavDatabasePasswordException SuppressMessage: False SuppressExceptionCreatedEvent: False FatalityScope: None Message: The user ID and password are not valid. Please try again. StackTrace: at Microsoft.Dynamics.Nav.Runtime.NavSession.Open(Boolean useUserPersonalization, Byte[] licenseToUse) at Microsoft.Dynamics.Nav.Runtime.NavApplicationServer.<RunOnceAsync>d__b.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Dynamics.Nav.Runtime.NavApplicationServer.<StartAsync>d__7.MoveNext() Source: Microsoft.Dynamics.Nav.Ncl HResult: -2146233088
It turned out that I had to change the user on my NAV service to something else the default Network Service account.
Problem adding a c# reference to WindowsInstaller COM object
When browsing COM objects and trying to add a reference to Microsoft Windows Installer Object Library I got this error:
A reference to ‘Microsoft Windows Installer Object Library’ could not be added.
The solution was to add a reference to the file instead. Click browse and select this file:
%WINDIR%\system32\msi.dll
UAC prompt shows random id for MSI packages
This problem was observed for MSI packages signed with signtool.exe.
The solution is to add a /d description parameter when signing the MSI package.