Knowledgebase: ASP .NET / ASP
This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Posted by on 15 January 2011 06:20 AM
When an error containing the following phrase is received:
"This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded."
Then it is most likely because you have set your ASP.NET version lower than that used by the developer of your web software/script. To fix it, login to your control panel and enter the Websites section, click on the website, and go into the "Extensions" tab. From there, you can either:
1) Test by increasing the ASP.NET version higher to any of the versions higher than the one being used at that moment
2) Ask the developer of the web script your using which version its meant to run under and then change it to that version
15 January 2011 08:22 AM
I suspected this was the case. I just did not know I could change it there. Thanks.
26 February 2011 02:12 PM
ok ok these 2 steps are already figured out by myself. only the 1 is good for me but I dunno how to do it.
11 March 2011 02:47 AM
You would increase the .NET version number (extension) under the Extensions tab for the specific website inside the control panel. Its also outlined in the post.
21 September 2011 02:11 AM
The only way you can keep it in one project is if you always program it in 3.5 which 4.0 can run and you can just switch the framework for the different versions.So this is related to versioning issue.