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>
 Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.<!-- Web.Config Configuration File --><configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>
 

解决方案 »

  1.   

    <customErrors mode="Off"/>  这个设置一下,看看错误是什么,找到错误之后改回原值
      

  2.   

    是不是版本的问题呀。如果你的程序是.net 2.0(3.0\3.5)的,那么在IIS里面的网站的设置,也要是.net2.0的。如果网站的设置是.net1.1的话,就会出错。你的这个错误好像是这个。
      

  3.   

    查看IIS的网站的“属性”对话框里的“asp.net”标签。再有可能就是数据库连接的问题了,不过估计这个可能性不大。
      

  4.   

    设置customErrors mode="Off"看详细的错误信息
    看服务器事件查看器