tags:

views:

170

answers:

2

Hi,

In my Classic ASP application I am trying to generate a web report having more than 7K and 14K records respectively, but it shows "Script TimeOut" error after 10 to 15 minuts.

The IIS setting is already more than default value.And also I have written the following code in individual page:

<% server.scriptimeout=4000 %>

Please suggest me how to handel it.

Thank you Sugam

+1  A: 

You simply cannot create an app that has HTTP requests that hang by a thread for 15 minutes. It's just destined for failure no matter what. You should allow people to request a report, generate it in the background and notify the user the report is still in progress/ready by either email and/or queue.

To even support this you'd need to edit the user's registry: http://support.microsoft.com/kb/813827

It's just not a good design.

Nissan Fan
A: 

hi sugam <% server.scriptimeout=4000 %>

it is very high timeout change it. it is only 180 timout is safisent becoz min time out 90 sec . i hope solve your problem now .

piyush