Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
hi, i am developing one website using asp.net while run the website i got a runtime error like
Microsoft JScript runtime error: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll.

but i used .net3.5 version. i runs successfully the bakup of same wesite but after fewdays i opened it run it gives runtime error pls help me if anybody knows
Posted
Updated 8-Aug-11 2:13am
v2
Comments
sudeshchandram 8-Aug-11 7:25am    
do you have framework 4 installed in your system..???

Simply remove and add the dll reference again. Also, have a look here for more info:
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Walkthrough/Setup.aspx[^]

Good luck!
 
Share this answer
 
Comments
Tech Code Freak 9-Aug-11 0:02am    
Correct. My 5!
I had faced the same problem and I had it solved too.
I had done the same thing as mentioned in Solution 1 by E.F. Nijboer.
Just remove and add the same dll reference of the AjaxControlToolkit.dll and you'll get it working!
There is no Framework problem and also the version of AjaxControlToolkit that you are using is Correct..... It's just some another unwanted error...
 
Share this answer
 
v4
First register ajax control toolkit in your page

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajx" %>

Then add this code anywhere inside aspx page

<ajx:toolkitscriptmanager id="ToolkitScriptManager1"  runat="server">
 
Share this answer
 
v2
i think the error cause by your machine don't have .NET framework 4.0 or maybe you dowload a wrong version of AjaxControlToolkit :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900