System.Web.HttpException: Request timed out.

Hi,

In custom web part I am getting the bulk data from SharePoint audit logs.

We are getting the below error when we have moved this to production.

System.Web.HttpException: Request timed out. 

Please let me know to avoid the same.

Please provide your valuable inputs on the same.

Regards,

S

March 23rd, 2015 2:45am

Yes, in production pretty soon you'll reach this limit, because audit logs contain so much info. The solution is to create custom reports with filters that limit the data that is processed. For instance, try to generate a report with data of yesterday and confirm that that works.
Free Windows Admin Tool Kit Click here and download it now
March 23rd, 2015 9:01am

Hi,

There is a pre production where we aren't getting this exception.

In this pre production also,there is a huge data in the SharePoint audit logs.

So,not able to figure out why this isn't working on production alone.

Regards,

Sudheer

March 23rd, 2015 1:21pm

But can you confirm that it does work on production if you're choosing specific filters?
Free Windows Admin Tool Kit Click here and download it now
March 24th, 2015 6:23am

Hi,

If select the filter of 5 days it is working working fine.

But it is not working if we select the filter of 1 month on production.

Regards,

Sudheer

March 24th, 2015 6:47am

Ok, then I do stick to the idea that this is normal behavior and is caused by the sheer fact that there's a lot of data in it, apparently a lot more than in preproduction. Something that i've witnessed lots of times. But hopefully somebody else has different insights?
Free Windows Admin Tool Kit Click here and download it now
March 24th, 2015 11:32am

Hi,

Please let me know to overcome this issue.

I tried through below url but still issue exists

http://weblogs.asp.net/jeffwids/how-to-increase-the-timeout-for-a-sharepoint-2010-website

Regards,

Sudheer

March 25th, 2015 12:08am

Hi Sudheer,

Please try to modify the web.config to this:

<httpRuntime maxRequestLength="51200" executionTimeout="3600" requestValidationMode="2.0" />

Best Regards

Free Windows Admin Tool Kit Click here and download it now
March 25th, 2015 10:40pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics