日期:2014-05-20  浏览次数:20525 次

江湖告急!!!连接数据库时遇到的问题,请大侠们急救!!!搞定便结贴
其它页面连接时没问题就一个页面连接数据库时报的异常,急救!!!
=========================================================================
{ "超时时间已到。在操作完成之前超时时间已过或服务器未响应。 "   }
        [System.Data.SqlClient.SqlException]:   {System.Data.SqlClient.SqlException}
        System.Object:   {System.Data.SqlClient.SqlException}
        _className:   null
        _COMPlusExceptionCode:   -532459699
        _exceptionMethod:   <未定义的值>
        _exceptionMethodString:   null
        _helpURL:   null
        _HResult:   -2146232060
        _innerException:   {   }
        _message:   "系统错误。 "
        _remoteStackIndex:   0
        _remoteStackTraceString:   null
        _source:   null
        _stackTrace:   {System.Array}
        _stackTraceString:   null
        _xcode:   -532459699
        _xptrs:   0
        HelpLink:   null
        HResult:   -2146232060
        InnerException:   {   }
        Message:   "超时时间已到。在操作完成之前超时时间已过或服务器未响应。 "
        Source:   ".Net   SqlClient   Data   Provider "
        StackTrace:   "       at   System.Data.SqlClient.SqlConnection.OnError(SqlException   exception,   TdsParserState   state)\r\n       at   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException   exception,   TdsParserState   state)\r\n       at   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()\r\n       at   System.Data.SqlClient.TdsParser.ReadNetlib(Int32   bytesExpected)\r\n       at   System.Data.SqlClient.TdsParser.ReadBuffer()\r\n       at   System.Data.SqlClient.TdsParser.ReadByteArray(Byte[]   buff,   Int32   offset,   Int32   len)\r\n       at   System.Data.SqlClient.TdsParser.ReadDouble()\r\n       at   System.Data.SqlClient.TdsParser.ReadValue(_SqlMetaData   md,   Int32   length)\r\n       at   System.Data.SqlClient.SqlDataReader.SeqRead(Int32   i,   Boolean   useSQLTypes,   Boolean   byteAccess,   Boolean&   isNull)\r\n       at   System.Data.SqlClient.SqlDataReader.SeqRead(Int32   i,   Boolean   useSQLTypes,   Boolean   byteAccess)\r\n       at   System.Data.SqlClient.SqlDataReader.GetValues(Object[]   values)\r\n       at   System.Data.Common.SchemaMapping.LoadDataRow(Boolean   clearDataValues,   Boolean
  acceptChanges)\r\n       at   System.Data.Common.DbDataAdapter.FillLoadDataRow(SchemaMapping   mapping)\r\n       at   System.Data.Common.DbDataAdapter.FillFromReader(Object   data,   String   srcTable,   IDataReader   dataReader,   Int32   startRecord,   Int32   maxRecords,   DataColumn   parentChapterColumn,   Object   parentChapterValue)\r\n       at   System.Data.Common.DbDataAdapter.Fill(DataSet   dataSet,   String   srcTable,   IDataReader   dataReader,   Int32   startRecord,   Int32   maxRecords)\r\n       at   System.Data.Common.DbDataAdapter.FillFromCommand(Object   data,   Int32   startRecord,   Int32   maxRecords,   String   srcTable,   IDbCommand   command,   CommandBehavior   behavior)\r\n       at   System.Data.Common.DbDataAdapter.Fill(DataSet   dataSet,   Int32   startRecord,   Int32   maxRecords,   String   srcTable,   IDbCommand   command,   CommandBehavior   behavior)\r\n       at   System.Data.Common.DbDataAdapter.Fill(DataSet   dataSet)\r\n       at   ACCP.DAO.DefaultProvider.GetDataSet(String   TableName)\r\n       at   ACCP.DAO.DefaultProvider.GetTable(String   TableName)\r\n       at   ACCP.DAO.DefaultProvider.GetTable()\r\n       at   fe