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

Hi,

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

Thanks,
Denise
DeniseGoodheartAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

aki4uCommented:
Hi,

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.
bsdotnetCommented:
Suggest you migrate asp to aspx page, read this,
http://msdn.microsoft.com/asp.net/learning/learn/migratingfromasp/
and you can get "ASP to ASP.NEt Migration Assistant" to do the migration.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DeniseGoodheartAuthor Commented:
Hi All,

Many Thanks!

Denise
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.