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 8377867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:46:59+00:00 2026-06-09T15:46:59+00:00

I need IIS 7 to return a classic ASP request as basic text/html. This

  • 0

I need IIS 7 to return a classic ASP request as basic text/html. This is for an internal application that will request the pages through ajax. The ASP code contains errors beyond the scope of this project, and prevents the request. I simply want to return the contents of the ASP page as though it were regular html, so that I can process the information in my application.

One thought was to apply on error resume next to all pages, but that would take too long. I’ve already tried deleting the Handler Mapping, or attempting to purposely limit the mapping by it’s properties, but get an IIS 7 security error message.

If this could also be done against IIS 6 that would be great, but not required.

UPDATE To provide a better example of what I’m attempting to achieve: I managed to move forward on the project by completely uninstalling ASP from Windows Programs and Features in the control panel, then creating a MIME for .asp as “text/html”. This works, but it takes down ASP for the entire server, so I had to re-enable it for other developers working on other projects. Is there no way to do this for one site, rather than the entire server’s roles and responsibilities?

POSSIBLE ANSWER
For this site only, I updated the ASP Handler Mapping so that the asp DLL responds to “.aspdont”. Then I added my own MIME type for .asp as “text/html”. Seems a little sloppy, but given what I have to work with, that might be my only solution.

  • 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-09T15:47:00+00:00Added an answer on June 9, 2026 at 3:47 pm

    You cannot disable Classic ASP for one site; you can only deny it, or uninstall it, at the server level. There are two possible workarounds: Move it to a new server without Classic ASP installed, or, at the site level, remap the handler for .asp to an unused extension, like .aspdont. Then, for either solution, create the MIME type at the site level for .asp as text/html. Now the pages will return ASP unprocessed.

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

Sidebar

Related Questions

I'm in the need of monitoring IIs (v6) events. More specifically the application pool
I need to host a webservice on IIS. I did this before where I
I need to add a Site Mapping on IIS 7.5 to accept domains that
i have a MVC application that works fine; but now i need to put
I'm on IIS 6 and I have an ASP.Net 4.0 site that's a single
I have following class that returns number of current Request per Second of IIS.
I need to create an ActionResult in an ASP.NET MVC application which has a
In order to support a legacy application that's in the field, I need my
I'm looking into building an ASP.NET MVC application that exposes (other than the usual
I need to set an IIS site's authentication. I see that you can do

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.