Server Error in '/' 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"/>
    </system.web>
</configuration>
 这个是什么问题,
跟这他上面,我改了
    <pages buffer="true" enableViewStateMac="false" smartNavigation="false" validateRequest="false">
      <controls>
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      </controls>
    </pages>
    <customErrors mode="Off" defaultRedirect="ErrorPage.aspx">
      
    </customErrors>
可是还是不行,ErrorPage.aspx页面我也有

解决方案 »

  1.   

    那啥. 你改一下iis的asp.net的版本呀..
      

  2.   

    这个不是最根本的错误信息
    错误信息被屏蔽了
    你需要开启<configuration> 
        <system.web> 
            <customErrors mode="on"/> 
        </system.web> 
    </configuration> 来获取真正的错误提示
      

  3.   

    在web项目出现这样的错误 我一般都是找数据库访问的错误 你可以是试下 如果不是那的问题 可以跟踪调试一下!
      

  4.   

    你的项目布在网站下了还是虚拟目录下了,如果是虚拟目录下的话,需要把它的所属的网站的Web.Config的自定义错误关闭掉