Server Error in '/post' Application.

来源:百度知道 编辑:UC知道 时间:2024/07/05 06:04:32
Server Error in '/post' Application.
--------------------------------------------------------------------------------

Runtime Error
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.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
<

服务器中的错误' /应用后。
-------------------------------------------------- -------------------

运行时错误
描述:应用程序错误发生在服务器上。当前自定义错误设置防止这种应用的实施细节错误被视为远程(出于安全原因) 。它可以,不过,被视为通过浏览器上运行的本地服务器机器。

详细信息:为了使细节特定的错误讯息要查看远程计算机上,请创建一个<customErrors>标记在“ Web.config的”配置文件位于根目录当前的网络应用。这<customErrors>标记,然后有其“模式”属性设置为“关闭” 。

“ ! -W eb.config的配置文件- >”

<configuration>
<system.web>
<customErrors mode="Off"/>
“ / system.web ”
“ /配置”

注:目前的错误网页你会看到可取而代之的是自定义错误页面,修改了“的defaultRedirect ”属性的应用程序的<customErrors>配置标记以指向自定义错误页面的网址。

“ ! -W eb.config的配置文件- >”

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
“ / system.web ”
“ /配置”