Fix for IIS fails to download Access .mdb file MIME Type

If you're new here, you may want to subscribe to Windows Reference RSS feed Thanks for visiting!


Problem

When you try to get IIS web site (ASP.NET) to prompt for a download of a Microsoft Access .MDB file but the web keeps sending a “This type of page is not served” error

Server Error in ‘/test/manuals’ Application.
——————————————————————————–
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 ‘.mdb’ may be incorrect. Please review the URL below and make sure that it is spelled correctly.

Solution

The issue is with ISAPI extensions. IIS 6.0 is trying to execute the .mdb file rather than just download it.

Stop IIS, and right click on the Default Web Site and select Properties.

Select the “Home Directory” tab, and select “Configuration” option.

Under ‘Mappings’ tab, you will see a list of ISAPI extensions. If .mdb is selected in there, Remove it. Apply and Restart IIS.

  • Share/Bookmark

Random Posts


Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically each day to your feed reader.

Trackbacks & Pingbacks

No trackbacks/pingbacks yet.

Comments

Great Post!
It worked!
100nx!

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required)