运行asp.net网站时出现运行时错误 [英] run time error while executing asp.net website

查看:225
本文介绍了运行asp.net网站时出现运行时错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用asp.net开发一个网站,但运行该网站时却遇到类似
的运行时错误 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.

但是我用的是.net3.5版本.我成功运行了同一个wesite的bakup,但是几天后我打开它运行,它给出了运行时错误,请有人帮我解决

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

推荐答案

只需删除并再次添加dll参考.另外,在这里查看更多信息:
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Walkthrough/Setup.aspx [ ^ ]

祝你好运!
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!


我也遇到了同样的问题,而且我也解决了这个问题.
我所做的与E.F. Nijboer的解决方案1中提到的相同.
只需删除并添加与AjaxControlToolkit.dll相同的dll引用,即可使其正常工作!
没有框架问题,而且您使用的AjaxControlToolkit的版本是正确的...这只是另一个不想要的错误...
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...


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">


这篇关于运行asp.net网站时出现运行时错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆