本机运行没有问题,上传服务器后提示超时错误,请高手帮忙
http://webcolor.66x5.cn/ 这个是地址以下是错误提示
____________________________________________________________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.]
   WebColor.DBUtility.SQLHelper.ExecuteReader(String SQLString, SqlParameter[] cmdParms) in E:\YMYBlog\DBUtility\SQLHelper.cs:526 //不知为什么有我本机的路径出现
   WebColor.SQLServerDAL.DBAdmin.GetCate(String authorid) in E:\YMYBlog\SQLServerDAL\DBAdmin.cs:169
   WebColor.BLL.Admin.GetCate(String authorid) in E:\YMYBlog\BLL\Admin.cs:67
   Controls_head.BindCate() +66
   Controls_head.Page_Load(Object sender, EventArgs e) +5
   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.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061 

解决方案 »

  1.   

    WebColor.DBUtility.SQLHelper.ExecuteReader(String SQLString, SqlParameter[] cmdParms) in E:\YMYBlog\DBUtility\SQLHelper.cs:526 //不知为什么有我本机的路径出现
       WebColor.SQLServerDAL.DBAdmin.GetCate(String authorid) in E:\YMYBlog\SQLServerDAL\DBAdmin.cs:169
       WebColor.BLL.Admin.GetCate(String authorid) in E:\YMYBlog\BLL\Admin.cs:67
    ----------------------------------------------------
    //不知为什么有我本机的路径出现
    查看下源代码,看是不是那个地方使用了"绝对路径",把它改为"相对路径",再试试
      

  2.   

    你是用的SQLServer 连接地址是否正常
      

  3.   

    sql server 连接 有问题。或者 数据库拒绝访问。。你联系联系那边客服试试