Error : Unable to find a version of the runtime to run this application
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
One of the users of my application got the error "Unable to find a version of the runtime to run this application". My application is set to have .NET framework targeted at v3.5. I've asked him to install .NET framework 3.5 but he's still getting the error.
I've tried solutions from several websites, added a config file with the code as follows:
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version = "v4.0"/>
<supportedRuntime version ="v2.0.50727" />
</startup>
However the problem didn't seem to go away. The same thing happened on both his computers (Windows XP and Vista). What are other possible causes for this?
.net frameworks
add a comment |
One of the users of my application got the error "Unable to find a version of the runtime to run this application". My application is set to have .NET framework targeted at v3.5. I've asked him to install .NET framework 3.5 but he's still getting the error.
I've tried solutions from several websites, added a config file with the code as follows:
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version = "v4.0"/>
<supportedRuntime version ="v2.0.50727" />
</startup>
However the problem didn't seem to go away. The same thing happened on both his computers (Windows XP and Vista). What are other possible causes for this?
.net frameworks
add a comment |
One of the users of my application got the error "Unable to find a version of the runtime to run this application". My application is set to have .NET framework targeted at v3.5. I've asked him to install .NET framework 3.5 but he's still getting the error.
I've tried solutions from several websites, added a config file with the code as follows:
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version = "v4.0"/>
<supportedRuntime version ="v2.0.50727" />
</startup>
However the problem didn't seem to go away. The same thing happened on both his computers (Windows XP and Vista). What are other possible causes for this?
.net frameworks
One of the users of my application got the error "Unable to find a version of the runtime to run this application". My application is set to have .NET framework targeted at v3.5. I've asked him to install .NET framework 3.5 but he's still getting the error.
I've tried solutions from several websites, added a config file with the code as follows:
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version = "v4.0"/>
<supportedRuntime version ="v2.0.50727" />
</startup>
However the problem didn't seem to go away. The same thing happened on both his computers (Windows XP and Vista). What are other possible causes for this?
.net frameworks
.net frameworks
asked Jul 15 '12 at 17:41
user1295450user1295450
72137
72137
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Your config say if you have version 4.0 then use it else fallback to the next i.e. v2
But as per MSDN the attribute useLegacyV2RuntimeActivationPolicy is to be used for fallback
Taken from MSDN
Specifies whether to enable the .NET Framework version 2.0 runtime
activation policy or to use the .NET Framework version 4 activation
policy.
So i would suggest you use it this way
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version = "v4.0"/>
</startup>
add a comment |
with a similar problem, not being able to run RETSCREEN.EXE due to following error:
Error parsing c:WINDOWSMicrosoft.NETFrameworkv2..50727configmachine.config
Parser returned error 0xC00CE556
I followed the solution published in:
http://blogs.sits-solutions.com/2010/11/02/parser-returned-error-0xc00ce556/
It turns out that “machine.config” file (as the error suggests) is the
problem. The “machine.config” can be found on the CONFIG folder
located under
“%SystemRoot%microsoft.NEtframeworkv2.0.50727config”. So:
Logon as admin
Go to “c:windowsmicrosoft.NEtframeworkv2.0.50727config” and rename “machine.config” to something like “machine.config.BAD”
In the same location create a folder called TEMP
Copy “machine.config.default” from the CONFIG folder to TEMP folder
Go into TEMP folder and rename “machine.config.default” to “machine.config”
Copy “machine.config” from TEMP folder back to CONFIG folder
Restart your machine
Your C00CE556 error should be solved.
actually I did not need to copy in another folder: made a copy of machine.config.default in the same folder and renamed it.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f11494156%2ferror-unable-to-find-a-version-of-the-runtime-to-run-this-application%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Your config say if you have version 4.0 then use it else fallback to the next i.e. v2
But as per MSDN the attribute useLegacyV2RuntimeActivationPolicy is to be used for fallback
Taken from MSDN
Specifies whether to enable the .NET Framework version 2.0 runtime
activation policy or to use the .NET Framework version 4 activation
policy.
So i would suggest you use it this way
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version = "v4.0"/>
</startup>
add a comment |
Your config say if you have version 4.0 then use it else fallback to the next i.e. v2
But as per MSDN the attribute useLegacyV2RuntimeActivationPolicy is to be used for fallback
Taken from MSDN
Specifies whether to enable the .NET Framework version 2.0 runtime
activation policy or to use the .NET Framework version 4 activation
policy.
So i would suggest you use it this way
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version = "v4.0"/>
</startup>
add a comment |
Your config say if you have version 4.0 then use it else fallback to the next i.e. v2
But as per MSDN the attribute useLegacyV2RuntimeActivationPolicy is to be used for fallback
Taken from MSDN
Specifies whether to enable the .NET Framework version 2.0 runtime
activation policy or to use the .NET Framework version 4 activation
policy.
So i would suggest you use it this way
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version = "v4.0"/>
</startup>
Your config say if you have version 4.0 then use it else fallback to the next i.e. v2
But as per MSDN the attribute useLegacyV2RuntimeActivationPolicy is to be used for fallback
Taken from MSDN
Specifies whether to enable the .NET Framework version 2.0 runtime
activation policy or to use the .NET Framework version 4 activation
policy.
So i would suggest you use it this way
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version = "v4.0"/>
</startup>
answered Jul 15 '12 at 18:58
HatSoftHatSoft
9,67032043
9,67032043
add a comment |
add a comment |
with a similar problem, not being able to run RETSCREEN.EXE due to following error:
Error parsing c:WINDOWSMicrosoft.NETFrameworkv2..50727configmachine.config
Parser returned error 0xC00CE556
I followed the solution published in:
http://blogs.sits-solutions.com/2010/11/02/parser-returned-error-0xc00ce556/
It turns out that “machine.config” file (as the error suggests) is the
problem. The “machine.config” can be found on the CONFIG folder
located under
“%SystemRoot%microsoft.NEtframeworkv2.0.50727config”. So:
Logon as admin
Go to “c:windowsmicrosoft.NEtframeworkv2.0.50727config” and rename “machine.config” to something like “machine.config.BAD”
In the same location create a folder called TEMP
Copy “machine.config.default” from the CONFIG folder to TEMP folder
Go into TEMP folder and rename “machine.config.default” to “machine.config”
Copy “machine.config” from TEMP folder back to CONFIG folder
Restart your machine
Your C00CE556 error should be solved.
actually I did not need to copy in another folder: made a copy of machine.config.default in the same folder and renamed it.
add a comment |
with a similar problem, not being able to run RETSCREEN.EXE due to following error:
Error parsing c:WINDOWSMicrosoft.NETFrameworkv2..50727configmachine.config
Parser returned error 0xC00CE556
I followed the solution published in:
http://blogs.sits-solutions.com/2010/11/02/parser-returned-error-0xc00ce556/
It turns out that “machine.config” file (as the error suggests) is the
problem. The “machine.config” can be found on the CONFIG folder
located under
“%SystemRoot%microsoft.NEtframeworkv2.0.50727config”. So:
Logon as admin
Go to “c:windowsmicrosoft.NEtframeworkv2.0.50727config” and rename “machine.config” to something like “machine.config.BAD”
In the same location create a folder called TEMP
Copy “machine.config.default” from the CONFIG folder to TEMP folder
Go into TEMP folder and rename “machine.config.default” to “machine.config”
Copy “machine.config” from TEMP folder back to CONFIG folder
Restart your machine
Your C00CE556 error should be solved.
actually I did not need to copy in another folder: made a copy of machine.config.default in the same folder and renamed it.
add a comment |
with a similar problem, not being able to run RETSCREEN.EXE due to following error:
Error parsing c:WINDOWSMicrosoft.NETFrameworkv2..50727configmachine.config
Parser returned error 0xC00CE556
I followed the solution published in:
http://blogs.sits-solutions.com/2010/11/02/parser-returned-error-0xc00ce556/
It turns out that “machine.config” file (as the error suggests) is the
problem. The “machine.config” can be found on the CONFIG folder
located under
“%SystemRoot%microsoft.NEtframeworkv2.0.50727config”. So:
Logon as admin
Go to “c:windowsmicrosoft.NEtframeworkv2.0.50727config” and rename “machine.config” to something like “machine.config.BAD”
In the same location create a folder called TEMP
Copy “machine.config.default” from the CONFIG folder to TEMP folder
Go into TEMP folder and rename “machine.config.default” to “machine.config”
Copy “machine.config” from TEMP folder back to CONFIG folder
Restart your machine
Your C00CE556 error should be solved.
actually I did not need to copy in another folder: made a copy of machine.config.default in the same folder and renamed it.
with a similar problem, not being able to run RETSCREEN.EXE due to following error:
Error parsing c:WINDOWSMicrosoft.NETFrameworkv2..50727configmachine.config
Parser returned error 0xC00CE556
I followed the solution published in:
http://blogs.sits-solutions.com/2010/11/02/parser-returned-error-0xc00ce556/
It turns out that “machine.config” file (as the error suggests) is the
problem. The “machine.config” can be found on the CONFIG folder
located under
“%SystemRoot%microsoft.NEtframeworkv2.0.50727config”. So:
Logon as admin
Go to “c:windowsmicrosoft.NEtframeworkv2.0.50727config” and rename “machine.config” to something like “machine.config.BAD”
In the same location create a folder called TEMP
Copy “machine.config.default” from the CONFIG folder to TEMP folder
Go into TEMP folder and rename “machine.config.default” to “machine.config”
Copy “machine.config” from TEMP folder back to CONFIG folder
Restart your machine
Your C00CE556 error should be solved.
actually I did not need to copy in another folder: made a copy of machine.config.default in the same folder and renamed it.
answered Sep 3 '14 at 16:19
user3912079user3912079
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f11494156%2ferror-unable-to-find-a-version-of-the-runtime-to-run-this-application%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown