12

ScriptResource.axd timed out? Try this...

by Bill Forney 23. May 2009 16:13

While poking at a recent project with a large stick my script resource handler began coughing and gave me a nasty timeout error. After a little prodding of google I came up with this fix. It works, assuming you don't actually have something wrong with your code that is timing out.

In your master page or page where your script manager lives add the AsyncPostBackTimeout value. The default is 90 seconds in case you're wondering.

<asp:ScriptManager ID="ScriptManager1" runat="server" AsyncPostBackTimeout ="360000"></asp:ScriptManager>

In your web.config file, add this to your system.web section.

<httpRuntime executionTimeout="360000"/>

That's it. Your pages shouldn't timeout now unless you've broken something else. :)

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Tags: , , ,

Software Development

Comments

Abercrombie Fitch Shorts
Abercrombie Fitch Shorts Ireland
12/15/2009 4:19:00 PM #

Good!

anonymous proxy
anonymous proxy Thailand
12/16/2009 6:01:13 AM #

Great insights. I loved to read your article. You must be putting a lot of time into your blog!

proxy
proxy Thailand
12/17/2009 3:06:18 AM #

Great share. Keep up the good work.

Camera lense
Camera lense Lao P.D.R.
12/17/2009 4:33:57 PM #

Excellent post.

cam chat software
cam chat software United States
12/20/2009 10:00:45 PM #

I want to express my admiration of your writing skill and ability to make reader to read the while thing to the end. I would like to read more of your blogs and to share my thoughts with you. I will be your frequent visitor, that’s for sure.

Ggler
Ggler United States
12/28/2009 12:31:17 PM #

Nice post. I love it.

Hand blender
Hand blender United States
12/29/2009 2:45:12 PM #

Your post is so nice.

orange county criminal attorney
orange county criminal attorney United States
1/2/2010 10:53:31 PM #

I'm still working on it,thanks for the latest info.

legal software
legal software Australia
1/17/2010 8:37:54 AM #

nice share, its fresh, let me bookmark it.
How about buy legal software http://buylegalsoftware.blogspot.com

ed hardy
ed hardy United Kingdom
1/22/2010 9:10:49 AM #

thanks

cash advance
cash advance United States
1/22/2010 10:23:36 PM #

This my friends is old news - try to update this.

SEO Services
SEO Services United States
1/29/2010 11:12:32 PM #

NET Ajax - Script Combining and moving ScriptResource.axd's to Static Scripts

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.5.1.26
Original Design by Laptop Geek, Adapted by onesoft