[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


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

Posted on 2006-04-03
Medium Priority
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

aki4u earned 80 total points
ID: 16367475

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

bsdotnet earned 1920 total points
ID: 16367491
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

ID: 16372695
Hi All,

Many Thanks!


Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month18 days, 18 hours left to enroll

834 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