的ScriptResource.axd 404未找​​到

编程入门 行业动态 更新时间:2024-10-26 11:28:17
本文介绍了的ScriptResource.axd 404未找​​到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有这样的Web应用程序在.NET 3.5,使用MS Ajax和jQuery用户界面。它工作正常,在当地,但是当我发布的statging服务器上给人一种'SYS'未定义JavaScript错误。 Furhter调查,我发现了个.axd文件不加载,这是一个404。我检查了web.confing和我下的必要项目。我用Google搜索和阅读每一个岗位,不能为它找到一个解决方案。有没有谁在运行之前像这样一个人prblme?

I have this WebApp in .NET 3.5, using MS Ajax and jQuery UI. It works fine locally but when I publish it on the statging server it gives a 'Sys' undefined javaScript error. Furhter investigation, I found that the .axd files are not loaded and it is a 404. I checked the web.confing and I have the necessary entries under the . I googled and read every post and could not find a solution for it. Is there anyone who has run in to a prblme like this before?

推荐答案

我只是碰到了它与我们的IIS 6服务器它是由并确保在system.web节(IIS7的不同)来处理。

I just ran into it with our server on IIS 6. It was handled by making sure to have in the system.web section (different for IIS7).

<httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> <add verb="GET" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler" validate="false"/> </httpHandlers>

更多推荐

的ScriptResource.axd 404未找​​到

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

发布评论

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

>www.elefans.com

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