locked
This type of page is not served RRS feed

  • Question

  • User-1764908371 posted

    I'm running into the same problem. I didn't know if I should start a new thread about the exact same subject, or just comment here.  

    We are building a new site on a development server running .net framework and IIS7.    I have some classic .asp programs I need to integrate in to avoid having to recode.  But even the simplest .asp page won't work, and instead gives this error:

     Server Error in '/' 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 '.asp' may be incorrect.   Please review the URL below and make sure that it is spelled correctly.

    We have installed .asp and allowed extensions yet it still doesn't work.   Are there modifications to the web.config to allow .asp extensions?  I found them for IIS 6 but not for IIS7   In IIS 6, this was a solution I found

    If you are using IIS 6.0. you can modify the web.config file to serve the asp file by

    Adding <add path="*.asp" verb="*" type="System.Web.UI.PageHandlerFactory" validate="True" />  in the <httpHandlers> section and  adding

    <add extension=".asp" type="System.Web.Compilation.PageBuildProvider" /> in the <buildProviders> section

    Please let me know what I can do to allow classic ASP in IIS7   

    Tuesday, August 5, 2008 10:36 AM

Answers

  • User1489974807 posted

    http://blogs.iis.net/bills/archive/2007/05/21/tips-for-classic-asp-developers-on-iis7.aspx

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Tuesday, August 5, 2008 3:17 PM
  • User113421904 posted

    Check this


     

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Thursday, August 14, 2008 9:34 AM

All replies

  • User1489974807 posted

    http://blogs.iis.net/bills/archive/2007/05/21/tips-for-classic-asp-developers-on-iis7.aspx

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Tuesday, August 5, 2008 3:17 PM
  • User-1764908371 posted

    Thank you for responding.  I don't see the specific error there that I'm looking for where it states that .asp is forbidden.  But I will bookmark the url because it will probably be helpful with other issues.

    Thursday, August 7, 2008 9:14 AM
  • User113421904 posted

    Check this


     

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Thursday, August 14, 2008 9:34 AM