tags:

views:

35

answers:

1

When i refresh the ASPX webpage the page takes more time after repeated refresh and displays an error : Active server pages Error 'ASP 0113' Sought of : The maximum amount of time for a script to execute was exceeded.

What I have done is Set Enable Buffering[bufferOn] property to false.

The above resolution makes the working of that page fine until I restart the browser(IE). After browser(IE) restart the same problem persist and I need to reset the iis to access the page again.

What might be the cause of the above problem? What can I do to rectify the problem? The Event Log says : Error: The Template Persistent Cache initialization failed for Application Pool 'Meidas' because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool. The data may have additional error codes.. Warning:The directory specified for caching compressed content E:\inetpub\temp\IIS Temporary Compressed Files\Meidas is invalid. Static compression is being disabled.

A: 

Is this a bulky page?

What is your Server.Scripttimeout set to currently? alt text

alt text

Rahul Soni
Scriptout time is 8.30 and the data is about 3mb...
Ranvir
The problem is with the production of this site. and we cannot change the code. I thing when I refreshed the application pool other than iisreset the site responds for sometime. but after that again the problem arises....How application pool works in this case. Do it store any form of data?
Ranvir
8.3 is too low for a script. It shouldn't be that low. The default if I recall correctly is 90 seconds. Try changing the timeout and see if that helps.
Rahul Soni
Rahul its 8.3 minutes far more than 90 seconds.
Ranvir
Oh, I thought you said 8.3 seconds. Are you using IIS 6 or 7?
Rahul Soni
That is a IIS 7 and the event log says: Error: The Template Persistent Cache initialization failed for Application Pool 'Meidas' because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool. The data may have additional error codes..Warning:The directory specified for caching compressed content E:\inetpub\temp\IIS Temporary Compressed Files\Meidas is invalid. Static compression is being disabled.
Ranvir
Why is it pointing you to E:\Inetpub\Temp for IIS Compression. Seems like, you have changed this. If that's the case, give appropriate permissions (Write) on the folder for the account that is trying to write inside the folder.
Rahul Soni
Can you tell me how we can change pointing location in iis ,that u mention . And please tell me tha default settings.
Ranvir
Edited my main reply. Check it out.
Rahul Soni