Search the VMware Knowledge Base (KB)
View by Article ID

A ThinApp which includes the .NET Framework generates the message: Event ID: 1101 ".NET Runtime Optimization Service (clr_optimization_version) - 1>Failed to compile:" (2018794)

  • 3 Ratings

Details

When running a ThinApp application which includes the .NET Framework, it generates a message similar to:

Event ID: 1101 ".NET Runtime Optimization Service  (clr_optimization_v4.0.30319_32) - 1>Failed to compile:"

Solution

When capturing the .NET Framework, it is important to note that following the install of the Framework, the mscorsvw.exe process continues to perform operations related to the install for some time in the background. If you perform a postscan before these operations are completed, you may encounter issues when using the ThinApp.

To resolve this issue:

After installing the .NET Framework, run this command prior to performing the ThinApp postscan:

C:\WINDOWS\Microsoft.NET\Framework\version_number\ngen.exe executequeueditems

For example:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ngen.exe executequeueditems

Note: The version number (in this example, v2.0.50727) may differ. Check your installation for the exact version.

This forces the .NET Framework to fully complete the install.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 3 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 3 Ratings
Actions
KB: