Error: The type of page you have requested is not served because it has been explicitly forbidden

Posted on 2006-04-03
Last Modified: 2010-10-05

I tried to run classic ASP with ASP.NET 2005.  In ASP.NET, I set the login.asp as Set As Start Page.  I checked IIS and it shows the following:

Directory Tab:
When connecting to this resource, the content should come from:
The designated directory: \Filter

The ASP.NET Tab:
Does not allow me to change the version from 2.0.4 to 2.0.5

When running ASP.NET, I get the following error message:
This type of page is not served.
Description: The type of page you have requested is not served because it has been explicitly forbidden.  The extension '.asp' may be incorrect.   Please review the URL below and make sure that it is spelled correctly.

Requested URL: /Filter/login.asp
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

Question by:DeniseGoodheart
    LVL 10

    Assisted Solution


    Try this:

    under IIS Default Web Site or your folder properties, click on tab "Home Directory", then under "Application Configuration" there is a button "Configuration...". When you click on it, new window will popup with "Mappings" tab selected. In the listview you need to have ".asp" extension...and if not, click on button "Add" and find it in folder something like "C:\WINDOWS\system32\inetsrv\asp.dll"...and also select all verbs.
    LVL 12

    Accepted Solution

    Suggest you migrate asp to aspx page, read this,
    and you can get "ASP to ASP.NEt Migration Assistant" to do the migration.

    Author Comment

    Hi All,

    Many Thanks!


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
    Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now