i am getting a timeout error when i am trying to access my query from asp.net.... the error i shown below this message
but when i use the Query analyzer it does not time out but it does run for about 1 min and 15 sec.
if i run this in a 'New View' it times out as well.
the only place this seems to run is in Query analyser.
i have changed the query timeout in the SQL Enterprise manager to 0 (unlimited) and it still happens.
What should i do?
i am using windows 2003 Standard and SQL 2000
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.Data.SqlClient.SqlE
xception: 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:
[SqlException (0x80131904): Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.]
System.Data.SqlClient.SqlC
onnection.
OnError(Sq
lException
exception, Boolean breakConnection) +862234
System.Data.SqlClient.SqlI
nternalCon
nection.On
Error(SqlE
xception exception, Boolean breakConnection) +739110
System.Data.SqlClient.TdsP
arser.Thro
wException
AndWarning
(TdsParser
StateObjec
t stateObj) +188
System.Data.SqlClient.TdsP
arser.Run(
RunBehavio
r runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1956
System.Data.SqlClient.SqlD
ataReader.
SetMetaDat
a(_SqlMeta
DataSet metaData, Boolean moreInfo) +812203
System.Data.SqlClient.TdsP
arser.Run(
RunBehavio
r runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1647
System.Data.SqlClient.SqlD
ataReader.
ConsumeMet
aData() +31
System.Data.SqlClient.SqlD
ataReader.
get_MetaDa
ta() +62
System.Data.SqlClient.SqlC
ommand.Fin
ishExecute
Reader(Sql
DataReader
ds, RunBehavior runBehavior, String resetOptionsString) +297
System.Data.SqlClient.SqlC
ommand.Run
ExecuteRea
derTds(Com
mandBehavi
or cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +903
System.Data.SqlClient.SqlC
ommand.Run
ExecuteRea
der(Comman
dBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132
System.Data.SqlClient.SqlC
ommand.Run
ExecuteRea
der(Comman
dBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
System.Data.SqlClient.SqlC
ommand.Exe
cuteReader
(CommandBe
havior behavior, String method) +122
System.Data.SqlClient.SqlC
ommand.Exe
cuteDbData
Reader(Com
mandBehavi
or behavior) +12
System.Data.Common.DbComma
nd.System.
Data.IDbCo
mmand.Exec
uteReader(
CommandBeh
avior behavior) +7
System.Data.Common.DbDataA
dapter.Fil
lInternal(
DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +141
System.Data.Common.DbDataA
dapter.Fil
l(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137
System.Data.Common.DbDataA
dapter.Fil
l(DataSet dataSet, String srcTable) +83
System.Web.UI.WebControls.
SqlDataSou
rceView.Ex
ecuteSelec
t(DataSour
ceSelectAr
guments arguments) +1770
System.Web.UI.DataSourceVi
ew.Select(
DataSource
SelectArgu
ments arguments, DataSourceViewSelectCallba
ck callback) +17
System.Web.UI.WebControls.
DataBoundC
ontrol.Per
formSelect
() +149
System.Web.UI.WebControls.
BaseDataBo
undControl
.DataBind(
) +70
System.Web.UI.WebControls.
GridView.D
ataBind() +4
System.Web.UI.WebControls.
BaseDataBo
undControl
.EnsureDat
aBound() +82
System.Web.UI.WebControls.
GridView.O
nPreRender
(EventArgs
e) +24
System.Web.UI.Control.PreR
enderRecur
siveIntern
al() +77
System.Web.UI.Control.PreR
enderRecur
siveIntern
al() +161
System.Web.UI.Control.PreR
enderRecur
siveIntern
al() +161
System.Web.UI.Page.Process
RequestMai
n(Boolean includeStagesBeforeAsyncPo
int, Boolean includeStagesAfterAsyncPoi
nt) +1360
--------------------------
----------
----------
----------
----------
----------
----
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
--------------------------
----------
----------
----------
----------
----------
----
~Corey
Start Free Trial