IIS忽略MVC映射
我正在尝试部署到IIS 8.5 ASP.NET MVC5应用程序,但我只能看到静态资源(图像)。
似乎未识别映射(模块system.web.routing.urlroutingmodule)。
部署的唯一方法是在本地文件夹中发布应用程序后复制和过去的文件(不可能使用Web部署)。
global.asax文件似乎可以转介CS
<%@ Application Codebehind="Global.asax.cs" Inherits="Xxxxxx.MvcApplication" Language="C#" %>
任何帮助都可以从这个地狱中退出...
谢谢
I'm trying to deploy to IIS 8.5 a ASP.NET MVC5 application but I'm able to see only static resources (images).
It seems like the mapping is not recognized (module System.Web.Routing.UrlRoutingModule).
The only way I have for deploying is to copy and past files after publishing the application in a local folder (no possibility to use Web Deploy).
Global.asax file seems be ok referring the cs
<%@ Application Codebehind="Global.asax.cs" Inherits="Xxxxxx.MvcApplication" Language="C#" %>
Any help is appreciated to exit from this hell...
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决!在服务器中,未安装“ ASP .NET 4.5”和“ .NET扩展性4.5”
。文件夹包含“开发”一词欺骗了我...
Solved! In the server features "ASP .Net 4.5" and ".Net Extensibility 4.5" under "Application Development Features" were not installed :(
The fact that my application uses .Net 4.6 framework (installed on the server) and the fact that the feature folder contains the word "Development" had deceived me...