Categories

Archives

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

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.

Are you getting this error? Well, then most probably it is because IIS is unable to recognize *.asp extension. It happens if this extension is not added in the application mappings list in IIS. I too faced this however, when I checked application mappings in my IIS, the .asp extension was very much still there in the list.
Application Extension Mapping in IIS Wild Card Extension
I later figured out that I had added wild card extension “*” in my IIS to allow for URL Rewriting for my ASP.Net application. The problem got resolved as soon as I removed the wild card extension from the application mappings list.

How to remove it?
Go to IIS > (Virtual Directory name) Properties > Configurations > Mappings
And then remove the * extension from the application mappings list. Removal will only affect the settings of the virtual directory from which it is removed.

  • Share/Bookmark

4 comments to The type of page you have requested is not served because it has been explicitly forbidden.

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>