Fixing Sitecore 6.x Bugs
Sitecore issue with .NET Framework 4.5
April 4, 2013
If any of you have decided to try Sitecore 7 and have installed .NET framework 4.5, you probably ran into an issue try to load your older sites. This issue occurs because Sitecore 6.5 Update-4 and older do not support .NET framework 4.5 and when you update to the newer framework it overwrites the 4.0 framework rather than installing side-by-side. So when you try to log into the actual CMS of your older sites, you will receive this error:
Luckily there are a couple of solutions you can implement:
If you would like to maintain your older sites while keeping .NET 4.5, you need to update the web.config of your older sites. Set the value of the Login.RememberLastLoggedInUserName to false. You may run into the exception again when subscribing to the Sitecore RSS feeds suing the client interface.
User .NET Framework 2.0 in Sitecore application pool configuration.
If you decide against using Sitecore 7, uninstall .NET framework 4.5.
Tags: IIS,.NET,Sitecore,SitecoreDefectBack to Posts