服务器配置:
CPU: 2.6
内存:2 G
硬盘:160G
系统: windows2000 advanced server 英文版
文件格式: NTFS我最近才发现这个问题,由于此前刚装好.net framework时,一切正常,所有.net程序都可以访问
几个星期后,再次来访问.aspx文件后就无法访问,下面是访问页面错误提示: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.   

    把Web.Config文件的配置改为 <customErrors mode="Off"/>看看返回什么错误信息?
      

  2.   

    run超时!应该是程序设置的问题!与系统没有任何关系!
      

  3.   

    web.config文件是指那个地方的文件?在C:\winnt\Microsoft.NET下只有machine.config文件有<customErrors mode="Off"/>这个字符.
      

  4.   

    问题是现在一切.aspx文件都无法访问
      

  5.   

    machine.config控制所有的asp.net站点配置,你可以通过更改你的应用下面的web.config文件里面的<customErrors mode="Off"/>只设置该站点,查看具体是什么错误信息。(通常是配置文件出了错,比如xml节点没有闭合等,通过在ie里浏览web.config或者machine.config,看看有没有什么错)另外,要注意的是,要查看具体错误信息,如果设置为<customErrors mode="Off"/>,必须要到服务器本机上运行,才能看到具体信息。你再分析一下具体信息基本就可以解决了!
      

  6.   

    访问asp文件没什么问题.还有就是我的.net程序文件里没有web.config我使用的是一个很简单的以.aspx为扩展名的文件.作为测试访问.由于服务器已经有很多asp网站,不知道天道说的重新注册IIS,应该如何弄,难不成要重装?
      

  7.   

    算了,我想这个问题csdn里没有人会.
    中国人才太少.