When i try to build solution for a Ajax based web site with Visual studio 2008 using the Framework 2.0, It gave the following error :
Could not load type 'System.Web.UI.Compatibility.CompareValidator' from assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
I was wondering what could be wrong! I tried placing system.web.Extensions in local bin folder. Tried placing in GAC again. There was no luck... when i goggled, found the following articles which was helpful. It seems the validators are removed in recent releases. The solution is to comment the following tags in web.config:
This update addresses the vulnerability discussed in Microsoft Security Bulletin MS08-078 which was regarding the Security issues that has been identified which could allow an attacker to compromise a computer running Microsoft Internet Explorer Version 7 and gain control over it. You can help protect your computer by installing this update from Microsoft. After you install this item, please restart your computer.