Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How can i define execution timeout to a specific aspx page in SharePoint 2013?

$
0
0

Hi Team,

My requirement is to filter an copy attachments to a network share. might be around 6000+ attachments...

I have used SPLongOperation and it worked fine and completed the copying in <6 mins. Now the records are getting increase it s no 10000+ and the execution timeout errors appearing in ULS Logs.

I'm calling the copy function in my custom aspx page button. so is there any way to define executiontimeout for my page,explicitly?

I would like know if any consequences due to this change?

Can i add my custom aspx page to web.config and increase executiontimeout? Will my server have any performance issues? This page will be used 4 times in a month.

Please provide your suggestions.

Below are the entries observed in webapp web.config:(If i made a new entry with my aspx page, what will be the impact?)

  <location path="_layouts/15/UploadEx.aspx">
    <system.web>
      <httpRuntime maxRequestLength="2097151" executionTimeout="3600" />
    </system.web>
  </location>
  <location path="_layouts/NewVideoSet.aspx">
    <system.web>
      <httpRuntime maxRequestLength="2097151" executionTimeout="3600" />
    </system.web>
  </location>
  <location path="_layouts/15/NewVideoSet.aspx">
    <system.web>
      <httpRuntime maxRequestLength="2097151" executionTimeout="3600" />
    </system.web>
  </location>



P N Bharath




Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>