Tuesday, May 31, 2011

Unable to get Microsoft Dynamics NAV Application Server Manager (NASMSnapIn.msc) to run

Every time we ran the NASMSnapIn.msc we got the "MMC could not create the snap-in" error message (see image).

In order to fix this we tried to install the NAS from the Dynamics installation media (remember to run Setup.exe with Administrator Rights). However, doing that, we ran into another error, we got the "Error 1935.An error occurred during the installation of assembly component {98CB24AD-52FB-DB5F-A01F-C8B3B9A1E18E}. HRESULT: 0x800736CC." ...and the installer rolled the installation back. Bugger.

After careful searching (and quite a lot of trials) we figured out that we were missing the "Microsoft Visual C++ 2005 Redistributable Package" (these are the runtime libraries installed by other installers from the Dynamics installation media). If you search for it, it should be easily found (look for vcredist_x86.exe).

After that we install it's service pack, that is the "Microsoft Visual C++ 2005 SP1 Redistributable Package" (the download we found for SP1 was called the same name vcredist_x86.exe like its predecessor).

Then the NAS installer worked...

...and the NASMSnapIn.msc worked!