我的网站做完传到空间 一开始没有问题但是过一段时间就会报错,网站还没有绑定到域名上只是用的临时域名测试的,下面是网页所报的错误,网上的解决方法我都试过了 可是还是不行 希望大家帮帮我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>下面是我的web.config配置<?xml version="1.0"?>
<!--
  有关如何配置 ASP.NET 应用程序的详细信息,请访问
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
<appSettings>
<add key="ConStringEncrypt" value="false"/>
<add key="ConnectionString" value="server=远程服务器;uid=sa;pwd=*****;database=sql"/>
<add key="image" value="default.jpg"/>
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;"/>
<add key="FCKeditor:BasePath" value="~/Fckeditor/"/>
<add key="FCKeditor:UserFilesPath" value="~/Files/"/>
<add key="DAL" value="Jlsh.SQLServerDAL"/>
</appSettings>
<system.web>
    <globalization requestEncoding="gb2312" responseEncoding="gb2312" culture="zh-CN" fileEncoding="gb2312" />
    <customErrors mode="RemoteOnly" defaultRedirect="~/ErrorPage/error.htm">
<error statusCode="403" redirect="~/ErrorPage/error.htm"/>
<error statusCode="404" redirect="~/ErrorPage/error.htm"/>
</customErrors>
<sessionState mode="InProc" timeout="30"></sessionState>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies></compilation>

</system.web>
</configuration>大家帮帮忙 谢谢了 在线等