简体   繁体   English

WebResource具有无效资源

[英]WebResource with invalid resources

In our intranet environment, the website works well, without problems. 在我们的Intranet环境中,该网站运行良好,没有任何问题。 Same address, accessed from outside, have the following result at the end of the WebResource.axd return: 从外部访问的相同地址在WebResource.axd返回的末尾具有以下结果:

/* START  */
/* Skipped loading 15 invalid resources. */
/* END  */

The WebResource.axd does have content (scripts). WebResource.axd确实具有内容(脚本)。 This error is shown at the end. 此错误显示在末尾。 I noticed the only included script was MicrosoftAjax.js, no other script were loaded. 我注意到唯一包含的脚本是MicrosoftAjax.js,没有其他脚本被加载。 Therefore, the WebResource.axd is much smaller than it was supposed to be and, of course, the website is not working (many Javascript functions are not working). 因此,WebResource.axd比原本应该的小得多,并且当然,该网站无法正常工作(许多Javascript函数无法正常工作)。 But it works when accessed internally. 但是在内部访问时它可以工作。 Same server, same WebResource request (URL). 相同的服务器,相同的WebResource请求(URL)。

Any ideas? 有任何想法吗?

Thank you! 谢谢!

I was using Telerik RadScriptManager. 我正在使用Telerik RadScriptManager。 Looks like there is a bug, and it was reported to them. 似乎有一个错误,并已报告给他们。 I had to change to regular ASP ScriptManager. 我不得不更改为常规ASP ScriptManager。 Alternatively, you can use EnableScriptCombining = False in RadScriptManager. 或者,您可以在RadScriptManager中使用EnableScriptCombining = False。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM