Solved

Classic ASP Async Issues on IIS 7.5

Posted on 2011-02-25
4
1,133 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
toggle checkboxes when a checkbox is checked 16 55
Time/Date Query 11 41
Voice recognition ASP or ASP.NET or JavaScript 2 69
CDO.Message not able to send attachement 5 26
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

810 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