是不是执行顺序的问题,把index.html删了或改个名试试,看它怎么跳

解决方案 »

  1.   

    程序本身就没有index.html这个文件  但会自动查找并读取index.html这个文件  找不到文件所以显示HTTP 错误 404 - 文件或目录未找到。Internet 信息服务 (IIS)
    换个域名访问会提示服务器超时错误:
    Server Error in '/' Application.
    --------------------------------------------------------------------------------Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. 
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Exception: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  Stack Trace: 
    [Exception: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.]
       System.Data.DbHelperSQL.ExecuteReader(String SQLString, SqlParameter[] cmdParms) in c:\Documents and Settings\Administrator\桌面\app_code的每个文件夹生成对应的DLL\DAL\App_Code\System.Data\DbHelperSQL.cs:89
       Web9eat.SQLServerDAL.Dns.GetModel(String domainName) in c:\Documents and Settings\Administrator\桌面\app_code的每个文件夹生成对应的DLL\DAL\App_Code\xxxx.SQLServerDAL\Dns.cs:81
       Web9eat.BLL.Dns.GetModel(String domainName) in c:\Documents and Settings\Administrator\桌面\app_code的每个文件夹生成对应的DLL\BLL\App_Code\xxxx.BLL\Dns.cs:34
       Web9eat.WebBase.Dns.UrlHandle(String domain, String url) in c:\Documents and Settings\Administrator\桌面\app_code的每个文件夹生成对应的DLL\WebBase\App_Code\xxxx.WebBase\Dns.cs:26
       DefaultMasterPage.Page_Load(Object sender, EventArgs e) in c:\Documents and Settings\Administrator\桌面\app_code的每个文件夹生成对应的DLL\WebSite\App_Code\DefaultMasterPage.cs:32
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +47
       System.Web.UI.Control.LoadRecursive() +131
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061 
    请帮忙看看是什么原因  谢谢!!!!
      

  2.   


    IIS配置哪个环节出了问题呢?能不能详细告知?多谢!!!!
      

  3.   

    IIS配置:打开IIS,找到你自己网站的虚拟目录,点击属性,然后找文档选项,在启动默认文档选项中将第一个设置为Default.aspx 就 OK了