Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8910811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:47:00+00:00 2026-06-15T03:47:00+00:00

I have recently moved a classic ASP web application from IIS 6 to IIS

  • 0

I have recently moved a classic ASP web application from IIS 6 to IIS 7.5 on Windows 2008 R2. This site has run great on IIS 6 for 4+ years. For the most part, the site works well on IIS 7.5, however, on occasion when you load a page something is happening where the response is not processed by the browser properly. As a result the actual response header is returned in the body of the response, either before the <html> tag or after the </html> tag. When the response is at the top before the <html> tag it is seen by the end user in the browser.

Sample response where the header is above the <html> tag:

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 9714
Content-Type: text/html
Server: Microsoft-IIS/7.5
P3P: CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
Set-Cookie: CSB=UserType=3&Client=805157&FNAME=John+Doe&CAMS=False&Client%5FUser%5FMode=Online&Session=650680780&User=1&LastViewed=https%3A%2F%2Fsite%2Edomain%2Ecom%2Fcsb%2Fclient%2Fdefault%2Easp%3FClient%3D123456%26PBAT%3D654321%26BAT%3D654321&Username=jjd; path=/
X-Powered-By: ASP.NET
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
        <title>some page</title>
        <script>...</script>
    </head>
    <body>
    </body>
</html>

The content of the response header is literally rendered on the screen in the browser. This issue does not happen on every request. I’ve successfully reproduced the issue in IE and Chrome, but it’s random so I have struggled being able to track down the root cause.

Sometimes the header is printed below the </html> tag and doesn’t get rendered in the browser.

There are no errors thrown by IIS or ASP. I found this and I tried using the tracing failed request module in IIS and it didn’t help because the request doesn’t actually fail so there is nothing to trace.

I’ve tried watching the traffic in Fiddler, but all i get is the warning that the size of the response is larger than the header declares, which is because the actual response header text is being returned with the response body.

The server is running Windows Firewall and eset antivirus – but both were running on the old IIS 6 box as well.

In terms of configuring IIS, I’ve done all the basics that people recommend for running classic ASP.

I’m not a beginner when it comes to IIS configuration, but this is the only ASP site I really work with anymore and all I’m trying to do is to get it to run properly on the new setup.

I’m stuck, is there anyone out there that’s seen this before?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T03:47:02+00:00Added an answer on June 15, 2026 at 3:47 am

    This turned out to be an issue with an ISAPI filter that was introduced by a web application firewall we had installed that had a bug. Although we had tested with the ISAPI filter disabled, it turned out we had to completely remove the ISAPI in order to discover the issue. The vendor has since given us a patch to fix the bug. Thanks for the help!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently moved my app from a linux machine to windows, and I
We have recently moved from VS 2008 to VS 2010. With that my applications
We have recently moved to a new web server (from IIS6 to IIS7.5) and
I have recently moved my VisualSVN Server 2.5.2 to a new machine(from Windows Server
I have recently moved to Windows 7. Now my .NET application fails writing log
I've inherited an ecommerce ASP.NET (c# code behind) web application. We've recently moved servers
I have inherited a classic asp site which has a fairly robust custom cms.
I have recently moved our ASP.NET session state from InProc to a Sql Server
I have recently moved my site from one VPS to another. Everything is done
I have recently moved the masterLayout template for a web application into an external

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.