Blog Entries

Apr 29

Written by: Eric Rodwell
4/29/2010 12:59 PM 

After installing .NET Framework 4.0, I noticed that one of our applications we build has stopped working. Specifically users receive the following error:

[NET Framework Initialization Error] “Unable to find a version of the runtime to run this application."

To fix this problem, I had to update our application.config file (Application Name.exe.config) and add the following entry:

<configuration>
   <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v2.0.50727"/>
    <supportedRuntime version="v1.1.4322"/>
  </startup>
</configuration>

Once I saved the file and re-started the application, it started to work as expected.

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Add Comment   Cancel 
Watch is replica watches uk really a very special luxury. Before we say people look at the face, there are people who want to replica watches see shoes; and now, can be said to see the table. Because the rolex replica variety of watch the type, and some sports publicity, and some elegant introverted; different watch from a uk replica watches certain extent also reflects the wearer's different character temperament.