找不到WebResource.axd [英] WebResource.axd not found

查看:312
本文介绍了找不到WebResource.axd的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法将脚本文件加载到我的网站上.其他一切都正常.我还没有尝试ScriptResource.axd.

我已经验证了卡西尼和IIS7上都存在此问题.

我已验证我的64位4.0 web.config包含WebResource.axd的映射.

我的系统时间正确(听说这可能有问题).

我已经验证它可以在其他项目中使用,所以罪魁祸首必须是我的Web应用程序.

我的Web应用程序是4.0 MVC3 Web应用程序.

可以在帮助我确定哪些程序集不起作用.

I can't get script files to load on my website. Everything else works fine. I haven't tried ScriptResource.axd however.

I have verified this issue exists on both cassini and IIS7.

I have verified my 64bit 4.0 web.config contains the mapping for WebResource.axd.

My system time is correct (I heard there may be issues with that).

I have verified that it works in other projects, so the culprit has to be my web application.

My web application is 4.0 MVC3 web application.

My web.config can be found here.

This error is killing me! Any help would be appreciated!

解决方案

I resolved a similar issue by adding read permissions for Everyone to the folder where the assembly containing the embedded resource was located. Clearly Everyone is overkill, but that might help others researching similar issues.

In our case some resources loaded (so I know the AssemblyResourceLoader was working) and it worked on one machine but not another.

This answer to another question helped me determine what assemblies were not working.

这篇关于找不到WebResource.axd的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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