.NET runtime Error : Unable to open shim database version registry key

 Image

Situation: Error event in eventviewer when a user launches a .NET application.
event :  The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Unable to open shim database version registry key – v2.0.50727.00000.

The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Unable to open shim database version registry key – v2.0.50727.00000.

Solution: give user  “read/write” rights on regkey “v2.0.50727.00000” in [HKLMSoftwareMicrosoft.NETFrameworkPolicyAppPatch].