Search This Blog

Thursday, November 04, 2010

Issues with ajax controls when upgrading from VS 2005 to VS 2008

Issues with ajax controls when upgrading from VS 2005 to VS 2008:


I have developed a website in Visual Studion 2005 (I mean to say DotNet Framework 2.0). I have used ajaxcontroltoolkit and developed ajax enabled website with all the ajax controls (e.g., accordian, asynchronous fileupload, calender extender etc). But I then realized the advantages of DotNet Framework 3.5 , So I just installed VS 2008 and opened my previous project in VS 2008. It asked me to convert to .NET framework 3.5, I just clicked next ->next and completed the conversion.

But then the problem raised with the ajax. Following may be the list of errors you may face when build the project in VS 2008.

A ScriptManager is required on the page to use ASP.NET AJAX Script Components. - error


Unable to cast object of type 'System.Web.Configuration.ScriptingAuthenticationServiceSection' to type 'System.Web.Configuration.ScriptingAuthenticationServiceSection'.


The base class includes the field 'ScriptManager1',