简体   繁体   English

MonoDevelop 404服务器中内置的MVC 5.2.3.0项目在“ /目录”应用程序中错误。 没有找到您要查的资源

[英]MVC 5.2.3.0 Project built in MonoDevelop 404 Server Error in '/directory' Application. The resource cannot be found

I built a MVC 5.2.3.0 application: 我建立了一个MVC 5.2.3.0应用程序:

The Local Dev environment consist of 本地开发环境包括

My OS is Linux Mint 17.1 - 64 bit My IDE is Mono develop 5.7 My development / Debug environment is the the built in xsp4 server that you can install with mono. 我的操作系统是Linux Mint 17.1-64位我的IDE是Mono开发5.7我的开发/调试环境是可以与mono一起安装的内置xsp4服务器。

My Test Web Server 我的测试Web服务器

Windows Vista SP2 32 Bit IIS 7 .NET Framework version: 4.0.30319.34209 (32-bit) Windows Vista SP2 32位IIS 7 .NET Framework版本:4.0.30319.34209(32位)

My problem 我的问题

When I debug in MonoDevelop the application runs fine But when I bin deploy it to my web server I get a error HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. 当我在MonoDevelop中进行调试时,应用程序运行良好,但是当我将其bin部署到Web服务器时,会收到错误HTTP404。您正在寻找的资源(或其依赖项之一)可能已被删除,名称更改或暂时不可用。 Please review the following URL and make sure that it is spelled correctly. 请查看以下网址,并确保其拼写正确。

I been through the file structure over and over and I don't understand what I am missing. 我一遍又一遍地遍历文件结构,但我不明白自己缺少什么。

Does any one here have idea. 这里有人有想法吗? Thank you in advance 先感谢您

Here is the MVC diagnostics report. 这是MVC诊断报告。


Microsoft ASP.NET MVC Diagnostics Information Microsoft ASP.NET MVC诊断信息

Operating system: Microsoft Windows NT 6.0.6002 Service Pack 2 .NET Framework version: 4.0.30319.34209 (32-bit) Web server: Microsoft-IIS/7.0 Integrated pipeline: True Worker process: w3wp.exe AppDomain: Homogenous = True, FullTrust = True 操作系统:Microsoft Windows NT 6.0.6002 Service Pack 2 .NET Framework版本:4.0.30319.34209(32位)Web服务器:Microsoft-IIS / 7.0集成管道:True工作进程:w3wp.exe AppDomain:同质= True,FullTrust =真

Worker process: w3wp.exe ASP.NET MVC Assembly Information (System.Web.Mvc.dll) 工作进程:w3wp.exe ASP.NET MVC程序集信息(System.Web.Mvc.dll)

Assembly version: ASP.NET MVC 5.2.3 RTM (5.2.30128.0) Full name: System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 Code base: file:///M:/bsandy/bin/System.Web.Mvc.DLL Deployment: bin-deployed 程序集版本:ASP.NET MVC 5.2.3 RTM(5.2.30128.0)全名:System.Web.Mvc,版本= 5.2.3.0,文化=中性,PublicKeyToken = 31bf3856ad364e35代码库:file:/// M:/ bsandy /bin/System.Web.Mvc.DLL部署:bin部署

ASP.NET MVC Futures Assembly Information (Microsoft.Web.Mvc.dll) /. ASP.NET MVC期货程序集信息(Microsoft.Web.Mvc.dll)/。 All Loaded Assemblies 所有加载的装配体

65 assemblies are loaded. 已加载65个程序集。

Antlr3.Runtime, Version=3.5.0.2, Culture=neutral, PublicKeyToken=eb42632606e9261f
App_global.asax.cndxl5jx, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
App_Web_bhwlrj4f, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
BSW, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
SMDiagnostics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Net.Http.Extensions, Version=2.2.28.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Net.Http.Formatting, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Net.Http.Primitives, Version=4.2.28.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Net.Http.WebRequest, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Runtime.Caching, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.ServiceModel.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.ServiceModel.Internals, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.ApplicationServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.DynamicData, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.Http.WebHost, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.Mobile, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.Optimization, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.RegularExpressions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.WebPages.Deployment, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.WebPages.Deployment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.WorkflowServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Xaml.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
WebGrease, Version=1.6.5135.21930, Culture=neutral, PublicKeyToken=31bf3856ad364e35
WebMatrix.Data, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
WebMatrix.WebData, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35

Diagnostics version: Tuesday, July 10, 2012 (v12) Report generated on: Wednesday, February 25, 2015 7:26:16 PM 诊断版本:2012年7月10日,星期二(v12)生成报告:2015年2月25日,星期三,晚上7:26:16

To be clear, you should not, in anyway, need Mono installed on the web server. 需要明确的是,无论如何,您都不需要在Web服务器上安装Mono。 I won't go into the specifics of why, but I'm sure you can research that. 我不会详细说明原因,但是我敢肯定您可以对此进行研究。

The issue you are likely facing is one of Assembly bindings. 您可能面临的问题是程序集绑定之一。 If you could post your web.config, specifically the assembly bindings section that may help. 如果您可以发布您的web.config,特别是程序集绑定部分可能会有所帮助。 However, I would look and make sure that they are all pointing to the correct versions. 但是,我将查看并确保它们都指向正确的版本。

Also, you could try enabling the fusionlog to give you a better idea of what library it thinks is missing. 另外,您可以尝试启用Fusionlog,以更好地了解它认为缺少的库。

暂无
暂无

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

相关问题 “/”应用程序中的服务器错误。 无法找到该资源。 (404) 将 WCF 服务部署到 Azure 应用服务时 - Server Error in '/' Application. The resource cannot be found. (404) when deploying WCF service to Azure App Service '/'应用程序中的服务器错误。 资源无法找到。 ASP.NET MVC - Server Error in '/' Application. Resource Cannot Be Found. ASP.NET MVC “ /”应用程序中的服务器错误。 (没有找到您要查的资源。 ) - Server Error in '/' Application. (The resource cannot be found. ) Postman 预览“/”应用程序中的服务器错误。 没有找到您要查的资源' - Postman preview 'Server Error in '/' Application. The resource cannot be found' “/”应用程序中的 HTTP 404 服务器错误。 在 ASP.NET MVC 4 中 - HTTP 404 Server Error in '/' Application. in ASP.NET MVC 4 “/”应用程序中的服务器错误,找不到资源 - Server Error in '/' Application, The resource cannot be found 尝试在IIS 8.5上使用HTTPS访问目录但无法使用HTTP时,找不到404服务器错误资源 - Server Error Resource cannot be found 404 when trying to access directory using HTTPS on IIS 8.5 but works using HTTP “ /”应用程序中的服务器错误。 无法使用前导..退出顶层目录 - Server Error in '/' Application. Cannot use a leading .. to exit above the top directory 无法找到MVC 3的资源错误 - The resource cannot be found error for MVC 3 MVC区域和“找不到404资源”错误 - MVC areas and “404 resource not found” error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM