我将一个 asp.net 网站部署到共享服务器.....
我收到错误
Server Error in '/' Application.
运行时错误
Description: 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.
答案1
您是否检查过应用程序或 machine.config 上级目录中的 customErrors 模式?这些配置文件中的一个可能具有 RemoteOnly 的 customErrors 模式和 false 的 allowOverride,如中所述这篇 MSDN 文章。管理员可能设置此项以防止敏感数据显示给远程客户端。