升级后Ajax Control Toolkit的JS文件出错?

编程入门 行业动态 更新时间:2024-10-23 18:28:54
本文介绍了升级后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 localhost:50236/ScriptResource.axd?d=D9drwtSJ4hBA6O8UhT6CQmpVfriIlRNRich93DvwGtp67E1h_mWKZOFWLDGS9BMtlj8olqCr6zhXtNsVz0umlIymKK0GfDoqTLzNLe2YQI2ElwoX58_2MZEcEFLKjdG6fbv26oE3vanxWpdhskXpgCIAYbDVlsaWWDXPE-98sV01&t=ffffffffb53e74b8 and Unhandled exception at line 785, column 42 in 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文件出错?

本文发布于:2023-11-25 02:11:01,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1627895.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件   Control   Ajax   JS   Toolkit

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!