的ScriptResource.axd 404错误的ASP网4应用程序

编程入门 行业动态 更新时间:2024-10-25 21:27:29
本文介绍了的ScriptResource.axd 404错误的ASP网4应用程序 - webresource工作正常,虽然的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好,我有我刚刚部署到生产的.NET应用4。该应用程序loadas很好,除了我引用的JS文件的arent正确加载。使用招我发现的ScriptResource.axd调用返回404错误。

Hey everyone, I have a 4 application that i just deployed to production. The app loadas fine, except my referenced js files arent loading properly. Using fiddler I found that the ScriptResource.axd calls are returning 404 errors.

继承人的踢球,页面也正在通过WebResource.axd的一个电话,该请求的作品就好。

Heres the kicker, the page is also making a call via WebResource.axd, and that request works just fine.

任何想法我可以检查?正在运行IIS7。这是负载平衡,但我们在配置MachineKeys的。我添加了一个的ScriptResource.axd部分HttpHandlers的..但是我仍然有同样的问题..难倒...

Any ideas what I can check for? Were running IIS7. It is load balanced, but we have machinekeys in the config. I added an httpHandlers section for scriptresource.axd.. but Im still having the same issue.. stumped...

更新 - 我们认为欧websrver不知道一个AXD文件是什么。有没有安装用于.NET,将在IIS安装AXD映射?

Update - we think ou websrver has no idea what an axd file is. Is there any install for that will install the axd mappings in iis?

推荐答案

404也可能意味着(在一定条件下)未激活或不允许。我有一些时间回的服务器上,不得不使一些扩展。

"404" could also mean (under certain conditions) a "Not enabled" or "not allowed". I had that some time back on a server and had to enable some extension.

另一种方法是使用进程监视器到真正的文件是否由IIS进程被搜查,没有找到。

Another way would be to use Process Monitor to see whether real files are being searched by the IIS process and not found.

更多推荐

的ScriptResource.axd 404错误的ASP网4应用程序

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

发布评论

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

>www.elefans.com

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