Fixing error “Could not register type library for file

This one took me a couple of hours to figure out.. I was trying to install the NAV 2015 Client on one of our Xenapp Servers. Earlier we succeeded the installation on our test machine, but our product machines where not so easy.

The installation of the client ended every time with the following error:

[code]Could not register type library for file C:\Program Files (x86)\Microsoft Dynamics NAV\80\RoleTailored Client\Microsoft.Dynamics.Nav.Client.WinForms.tlb[/code]

This is not the actual full error message. Searching on this is hopeless, you won’t find anything useful. The real error is hidden in the MSI installer log files, you will find the reference to these in the main error log file.

In those MSI error logs you see the actual error code 1911. As it seems there are more applications that have the same kind of issue and the solution is pretty simple:

Remove the Windows Update KB3072630,  this is an update to prevent execution of malicious code using the windows installer.

As it turned out, our test machine didn’t had this update installed.

Leave a Comment