Server Error in '/taikebg' 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>
 
本人不懂ASP.NET,这个页面是我一个朋友帮我搞的,不知怎么回事,我今天一上网就发现这一类的页面都打不开了,全显示的是这个,这些页面的后缀名是:aspx.请问是什么原因造成的,如何解决????

解决方案 »

  1.   

    在Web.Config文件里面加上
    <configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>
    就可以看见详细错误信息了
      

  2.   

    楼上正解。先修改你的网站的根目录下的web.config文件,加入楼上那段,并确认只此一段关于customerrors的设置然后再看详细的错误是什么吧,还有问题,楼主再贴上来
      

  3.   

    <customErrors mode="Off"/>
      

  4.   

    Server Error in '/' Application.
    --------------------------------------------------------------------------------The resource cannot be found. 
    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested Url: /taikebg/neiye_news.aspx
    我按照你的试了一下,出现的是这种!!!
      

  5.   

    资源不能够被发现。 
    描述: HTTP 404. 你正在找寻的资源可以有被移动, 有它的名字改变, 或暂时得不到。 请检讨下列各项网址而且确定它被正确的拼。
      

  6.   

    .aspx文件找不到了,看看文件在不在,虚拟路径对不对?
      

  7.   

    不一定是.aspx不存在.准确地说你引用的文件不存在.如引用的用户控件(*.ascx)....