我在我的解决方案(ASP.NET MVC 5)中有两个项目,一个用于客户端,一个用于管理员。这两个项目在本地运行良好。但是,当我发布管理项目(位于路径:root/admin
在我的主机),我发现了一个错误:'/ admin'应用程序中的服务器错误...服务器上发生应用程序错误
An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
件事你必须知道,我说:
<system.web>
<customErrors mode="Off"/>
</system.web>
但我没有看到任何具体的错误,我也配置了虚拟目录root/admin
作为应用程序在IIS中。
我知道这是一个常见的错误,但我没有看到像这样的任何解决方案:Server Error in '/' Application. ASP.NET
确保您使用'Debug'发布配置文件能够看到详细的错误 –
我使用了Debug发布配置文件,但是我没有看到任何具体的错误@mamodom – mejiamanuel57