wilko100
asked on
Report timing out on website
Hi
I have a report that has been running fine up until last week when users started to experience timeouts when running the report. The incident happens at intermittent times of the day with some days the report runs fine.
The report is a RDLC file which is called through our asp.net website
Timeout set in webconfig is:
<!-- set the timeout of report viewer, value is in miliseconds-->
<add key="ReportViewerTimeOut" value="6000000"/>
SQL time out is set at:
(Server properties\Connections)
remote server connections
remote Query time out (in seconds. 0=no timeout)
750
After investigate HTTPERR logs, IIS logs and Event viewer i noticed the following events
IIS:
013-05-21 09:47:05 GET /Reports/PerformanceViewer .aspx Report=PerformanceReport&l ocation_ch ooser_filt er=Henley+ Thames&loc ation_choo ser_locati on_type_id =1&locatio n_chooser_ sub_locati on_type_id =-1&locati on_chooser _id=16&loc ation_filt er_type=De pot&locati on_filter_ type_id=1& SearchFilt ers.startD ate=21%2F0 5%2F2013 - 127.0.0.1 Mozilla/4.0+(compatible;+M SIE+8.0;+W indows+NT+ 5.2;+Tride nt/4.0;+PO IE4SP2;+.N ET+CLR+1.1 .4322;+.NE T+CLR+2.0. 50727;+.NE T+CLR+3.0. 4506.2152; +.NET+CLR+ 3.5.30729; +.NET4.0C; +.NET4.0E) http://localhost/Reports/MyReport/PerformanceReport localhost 500 0 10349 1119 60875
500 0 looks like a status and substatus error
HTTPERR:
Date IP Port
2013-05-21 09:57:31 10.xx.xx.xx 1959 172.xx.xxx.x 443 - - - - - Timer_ConnectionIdle -
2013-05-21 09:57:31 10.xx.xx.xx 1961 172.xx.xxx.x 443 - - - - - Timer_ConnectionIdle -
2013-05-21 09:57:31 10.xx.xx.xx 1962 172.xx.xxx.x 443 - - - - - Timer_ConnectionIdle -
2013-05-21 09:57:37 10.xx.xx.xx 1962 172.xx.xxx.x 443 - - - - - Timer_ConnectionIdle -
(seems fine to me)
Event viewer:
Event Type: Warning
Event Source: ASP.NET 4.0.30319.0
Event Category: Web Event
Event ID: 1309
Date: 21/05/2013
Time: 10:47:05
User: N/A
Computer: IISServer
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 21/05/2013 10:47:05
Event time (UTC): 21/05/2013 09:47:05
Event ID: 92222d6976124410b2f73149b0 4e2f13
Event sequence: 95472
Event occurrence: 42
Event detail code: 0
Application information:
Application domain: /LM
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\Web\
Machine name: IISServer
Process information:
Process ID: 20176
Process name: w3wp.exe
Account name: IISServer\svcBWe
Exception information:
Exception type: HttpUnhandledException
Exception message: Exception of type 'System.Web.HttpUnhandledE xception' was thrown.
at System.Web.UI.Page.HandleE rror(Excep tion e)
at System.Web.UI.Page.Process RequestMai n(Boolean includeStagesBeforeAsyncPo int, Boolean includeStagesAfterAsyncPoi nt)
at System.Web.UI.Page.Process Request(Bo olean includeStagesBeforeAsyncPo int, Boolean includeStagesAfterAsyncPoi nt)
at System.Web.UI.Page.Process Request()
at System.Web.Util.AspCompatA pplication Step.Syste m.Web.Http Applicatio n.IExecuti onStep.Exe cute()
at System.Web.HttpApplication .ExecuteSt ep(IExecut ionStep step, Boolean& completedSynchronously)
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
I have ran the query on the SQL server and it runs first time 22 seconds then under 2 seconds atter that. But on the website its timing out everytime.
Im wondering it IIS is the problem here? Is there any checks i can do in IIS6 other than increasing timeout?
I have a report that has been running fine up until last week when users started to experience timeouts when running the report. The incident happens at intermittent times of the day with some days the report runs fine.
The report is a RDLC file which is called through our asp.net website
Timeout set in webconfig is:
<!-- set the timeout of report viewer, value is in miliseconds-->
<add key="ReportViewerTimeOut" value="6000000"/>
SQL time out is set at:
(Server properties\Connections)
remote server connections
remote Query time out (in seconds. 0=no timeout)
750
After investigate HTTPERR logs, IIS logs and Event viewer i noticed the following events
IIS:
013-05-21 09:47:05 GET /Reports/PerformanceViewer
500 0 looks like a status and substatus error
HTTPERR:
Date IP Port
2013-05-21 09:57:31 10.xx.xx.xx 1959 172.xx.xxx.x 443 - - - - - Timer_ConnectionIdle -
2013-05-21 09:57:31 10.xx.xx.xx 1961 172.xx.xxx.x 443 - - - - - Timer_ConnectionIdle -
2013-05-21 09:57:31 10.xx.xx.xx 1962 172.xx.xxx.x 443 - - - - - Timer_ConnectionIdle -
2013-05-21 09:57:37 10.xx.xx.xx 1962 172.xx.xxx.x 443 - - - - - Timer_ConnectionIdle -
(seems fine to me)
Event viewer:
Event Type: Warning
Event Source: ASP.NET 4.0.30319.0
Event Category: Web Event
Event ID: 1309
Date: 21/05/2013
Time: 10:47:05
User: N/A
Computer: IISServer
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 21/05/2013 10:47:05
Event time (UTC): 21/05/2013 09:47:05
Event ID: 92222d6976124410b2f73149b0
Event sequence: 95472
Event occurrence: 42
Event detail code: 0
Application information:
Application domain: /LM
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\Web\
Machine name: IISServer
Process information:
Process ID: 20176
Process name: w3wp.exe
Account name: IISServer\svcBWe
Exception information:
Exception type: HttpUnhandledException
Exception message: Exception of type 'System.Web.HttpUnhandledE
at System.Web.UI.Page.HandleE
at System.Web.UI.Page.Process
at System.Web.UI.Page.Process
at System.Web.UI.Page.Process
at System.Web.Util.AspCompatA
at System.Web.HttpApplication
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
I have ran the query on the SQL server and it runs first time 22 seconds then under 2 seconds atter that. But on the website its timing out everytime.
Im wondering it IIS is the problem here? Is there any checks i can do in IIS6 other than increasing timeout?
ASKER
Hi
The app pool gets recycled every night. The netmon sounds a good route to take. The SQL SP looks quite effecient but it is somethign i may need to double check later
The app pool gets recycled every night. The netmon sounds a good route to take. The SQL SP looks quite effecient but it is somethign i may need to double check later
Perhaps it is time to optimize the query that generates the report. How many rows are returned in SSMS?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
no solution found
Next case is a profiler measuring whats happening on the SQL
perhaps combined with a netmon on the IIS
/Regards Marten