Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My Web site getting below error while processing huge task of validation or any big processing task

C#
8/4/2016 7:46:42 AM:Error while processing [ xyz task ]: Thread was being aborted.
8/4/2016 7:46:42 AM:Request timed out.


Still i am missing something as for other normal task it is working fine and i am not getting error.

Also the same error is not handle in try catch block it is logged from Application_Error of global.asax.

What I have tried:

i have set below value in web.config

C#
<httpRuntime enableVersionHeader="false" executionTimeout="300" />
Posted
Updated 4-Aug-16 23:44pm

1 solution

1st step need to check from where timeout exception come out , resolve it.
2nd step there is setting in IIS to increase execution Time set it as much your application required.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900