Solved

Classic ASP Async Issues on IIS 7.5

Posted on 2011-02-25
4
1,134 Views
Last Modified: 2012-05-11
I have a classic asp ajax chat application that has been running just fine for years on windows server 2003.  But I just recently upgraded the server and now on server 2-008 r2 with iis 7.5 and the ajax refresh takes 3 times as long as it should.  I have tested the same code again in the same browsers on iis 6 and there are no problems.  With it running on iis 7.5 when it should be refreshing every 3 seconds, it is actually only refreshing about every 9-15 seconds.

I have also noticed that the issue is not a bad with firefox, chrome and safari as it is on IE.  

0
Comment
Question by:Sitewizard
  • 3
4 Comments
 
LVL 28

Expert Comment

by:strickdd
ID: 34982021
You may want to install the compatibility modules for IIS6 on the server. You can also try changing from Integrated Pipeline mode on the app pool to Classic.
0
 

Author Comment

by:Sitewizard
ID: 34983218
Ive tried changing the integraded pipeline mode to classic and that did not work.  I believe all of the compatibility modules are installed
0
 

Accepted Solution

by:
Sitewizard earned 0 total points
ID: 34985955
I found the issue, IIS 7.5 must be better at page caching then IIS6 was.  The issue was not that the async was not firing, it was that the page was returning the cached page.  i simply added the following to the top of the page

<% Response.CacheControl = "no-cache" %>
<% Response.AddHeader "Pragma", "no-cache" %>
<% Response.Expires = -1 %>

Problem resolved
0
 

Author Closing Comment

by:Sitewizard
ID: 35015630
I resolved the issue myself
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question