Installation of R01 for XenApp 6.5 displays warning 27250. The installer is unable to compile a mof file

Installation of R01 for XenApp 6.5 presents the following warning: “Warning 27250. The installer is unable to compile a mof file. Some classes in the Citrix namespace may be invalid or missing”.

Cause

The WMI repository, also known as the CIM repository, is not just a single file, but a collection of files within the Repository folder that work together as a database. If there is any kind of corruption, or missing files, installation of the Rollup Pack will fail, and blank out your servers registry entries for the farm name. Adding the farm name back manually does not work, and IMA will continuously fail.

Resolution

In order to resolve this error revert to a snapshot. If there is no snapshot, you will need to open the XenApp Server Role Manager and remove the XenApp role completely.

Once the server is restarted, there will be no RDP or ICA connection, so ensure you have a console connection. Reopen the XenApp Server Role Manager and add the role for XenApp. Once this completes, restart the server.

The server must display the fresh role added and RDP and ICA listeners will be up. Once you have re-added the server back to the farm you must run the following command on the server prior to attempting to install R01 once again:

  • Stop the Windows Management Instrumentation Service.
  • Open a command prompt and run: winmgmt /resetrepository — The repository is reset to the initial state when the operating system is first installed. MOF files that contain the #pragma autorecover preprocessor statement are restored to the repository.
  • Right click the R01 package and select Properties, ensure that on the bottom of the properties tab that the file is not blocked, unblock if it is blocked. Now run the R01 install.

If you have a snapshot of the server, revert back to the snapshot and run the following commands to install R01:

  • Open a command prompt and run: winmgmt /resetrepository — The repository is reset to the initial state when the operating system is first installed. MOF files that contain the #pragma autorecover preprocessor statement are restored to the repository.
  • Right click the R01 package and select Properties, ensure that on the bottom of the properties tab that the file is not blocked, unblock if it is blocked. Now run the R01 install.

Read the original article here.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.