Categories

Archives

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

Welcome!

Welcome to my blog. This is my first blog post therefore, I would like to take this opportunity to say few words about my future plan on this site.

I have spent almost 12+ years in software development and during all those years I have come across many simple to complex technical issues which would often give me sleepless nights due to fear of missing deadlines, failure to complete assigned task etc. If you are a software programmer, then I am sure that you too have faced such situations one or other time during your career. It becomes even more difficult when even search engines fail to provide exactly what you are looking for. That doesn’t mean that search engines fail to show you appropriate results or you just didn’t key in the proper keywords. Of course, if there is no relevant article or content available against what you are searching for, how can they help.

When I would normally get stuck in such situations, I used to almost immediately start putting my own efforts into researching and solution finding. Most often I would get the required solution pretty quickly and sometimes it would even end up taking many days.

My blogs are aimed towards helping others with my experiences and findings on specific requirements for which  I have spent many hours to many days.

Hope you’ll find this helpful!

  • Share/Bookmark