升级后Ajax Control Toolkit的JS文件出错? [英] Errors in Ajax Control Toolkit's JS files after upgrade?

查看:53
本文介绍了升级后Ajax Control Toolkit的JS文件出错?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Ajax Control Toolkit升级到v15.x,并且在这样做之后一直在努力清理代码。我正在运行异常被抛出,VS在工具包的JS文件中突破。我不知道为什么或如何。



我已经仔细检查过多次没有引用任何脚本,这是谷歌的主要建议,但是我还是没想出来。



我真的需要一些帮助,因为我在这个项目上投入了两个月。顺便说一句,我正在使用VS2013,项目是ASP / VB。



这里有几个错误(为了得到下一个,我已经击继续):



。在线路1647的未处理的异常,塔38中的http://本地主机:50236 /的ScriptResource.axd d = D9drwtSJ4hBA6O8UhT6CQmpVfriIlRNRich93DvwGtp67E1h_mWKZOFWLDGS9BMtlj8olqCr6zhXtNsVz0umlIymKK0GfDoqTLzNLe2YQI2ElwoX58_2MZEcEFLKjdG6fbv26oE3vanxWpdhskXpgCIAYbDVlsaWWDXPE-98sV01&安培;? t = ffffffffb53e74b8







785行未处理的异常,列?42中的http://本地主机:50236 /的ScriptResource.axd d = D9drwtSJ4hBA6O8UhT6CQmpVfriIlRNRich93DvwGtp67E1h_mWKZOFWLDGS9BMtlj8olqCr6zhXtNsVz0umlIymKK0GfDoqTLzNLe2YQI2ElwoX58_2MZEcEFLKjdG6fbv26oE3vanxWpdhskXpgCIAYbDVlsaWWDXPE-98sV01& T公司= ffffffffb53e74b8



0x800a139e - JavaScript的运行时错误:Sys.InvalidOperationException:类型Sys.Timer已经注册。可以多次定义类型,也可以加载定义它的脚本文件。可能的原因是在部分更新期间更改了设置。



0x800a139e - JavaScript运行时错误:Sys.InvalidOperationException:类型Sys.Extended.UI.BoxSide已经被注册。可以多次定义类型,也可以加载定义它的脚本文件。可能的原因是在部分更新期间更改了设置。




感谢所有和所有帮助!谢谢!

I upgraded Ajax Control Toolkit to v15.x and have been working on cleaning up the code after doing so. I'm running across exceptions being thrown, and VS breaks at points in the toolkit's JS files. I'm not sure why or how.

I've already double-checked that any scripts are not referenced multiple times, as was the leading suggestion on Google, but I still haven't figured it out.

I really need some help with this, as I have two months invested in this project. By the way, I'm using VS2013 and the project is in ASP/VB.

Here are a couple of the errors (to get the next, I've hit Continue):

Unhandled exception at line 1647, column 38 in http://localhost:50236/ScriptResource.axd?d=D9drwtSJ4hBA6O8UhT6CQmpVfriIlRNRich93DvwGtp67E1h_mWKZOFWLDGS9BMtlj8olqCr6zhXtNsVz0umlIymKK0GfDoqTLzNLe2YQI2ElwoX58_2MZEcEFLKjdG6fbv26oE3vanxWpdhskXpgCIAYbDVlsaWWDXPE-98sV01&t=ffffffffb53e74b8

and

Unhandled exception at line 785, column 42 in http://localhost:50236/ScriptResource.axd?d=D9drwtSJ4hBA6O8UhT6CQmpVfriIlRNRich93DvwGtp67E1h_mWKZOFWLDGS9BMtlj8olqCr6zhXtNsVz0umlIymKK0GfDoqTLzNLe2YQI2ElwoX58_2MZEcEFLKjdG6fbv26oE3vanxWpdhskXpgCIAYbDVlsaWWDXPE-98sV01&t=ffffffffb53e74b8

0x800a139e - JavaScript runtime error: Sys.InvalidOperationException: Type Sys.Timer has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update.

0x800a139e - JavaScript runtime error: Sys.InvalidOperationException: Type Sys.Extended.UI.BoxSide has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update.


Any and all help is appreciated! Thanks!

推荐答案

事实证明,我按照Ajax Control Toolkit网站上的说明取消捆绑脚本,现在一切正常。显然我没有做正确的事情,或说明错了。很可能,前者。
As it turns out, I followed the instructions on the Ajax Control Toolkit website on "un-bundling" the scripts, and now everything works. Apparently I didn't do something right, or the instructions were wrong. More than likely, the former.


这篇关于升级后Ajax Control Toolkit的JS文件出错?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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