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 
友情链接:6 新葡京网站 新葡京官网 新葡京娱乐 新葡京国际娱乐 新葡京官方网站 新葡京游戏 新葡京集团 新葡京网址 澳门新葡京网 新葡京网 新葡京娱乐场 新葡京官方网址 新葡京注册 新葡京国际 新葡京开户 澳门新葡京注册 澳门线上新葡京 澳门新葡京导航 澳门新葡京手机开户 澳门新葡京手机网址 新葡京网站 新葡京官网 新葡京娱乐 新葡京免费注册 新葡京官方网站 新葡京免费开户 新葡京集团 新葡京网址 澳门新葡京网 新葡京手机注册 新葡京娱乐场 新葡京手机开户 新葡京会员注册 新葡京国际 新葡京会员开户