“/”应用程序中的服务器错误(配置错误)

Server Error in '/' Application (Configuration Error)

当我尝试使用我的网站登录屏幕时,我在我的网站中收到此错误消息。

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.

** 源文件:C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config 行:284 **

**版本信息:Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1069.1 **

注意以下几点:
1.其他不需要登录的页面都正常
2. customErrors 设置为 Off
3. 网站通过 Plesk Web Host Edition 托管

这是所有 HTTP 500 错误的默认 IIS 错误页面。

默认情况下,IIS 不会向远程用户显示真正的错误。

如果您可以从您的服务器打开此页面,您将看到实际错误。我的意思是通过 RDP 连接到服务器,打开浏览器,打开这个网站。

或者在 Plesk 12.5 或更高版本中,您可以尝试功能 Failed Request Tracing,它会生成每个错误的详细报告: