Setting Up File Handler for IIS 7

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mbewers1
    New Member
    • Feb 2009
    • 68

    Setting Up File Handler for IIS 7

    Hi there,

    I'm trying to set up a virtual directory for a website which I have created in ASP.NET and wish to run in IIS7. However, I am given Server Error 404.3 in which it has been suggesgted that I try all of the following (shorter version of error):

    - Ensure that the expected handler for the current page is mapped.
    - Please verify that the feature you are trying to use is installed.
    - Ensure that ASP is installed.
    - Verify that the MIME map is enabled or add the MIME map for the Web site
    using the command-line tool appcmd.exe.
    - Create a tracing rule to track failed requests for this HTTP status code. For
    more information about creating a tracing rule for failed requests, click here.
    Links

    Adding the FileHandler was the most difficult step and I used these pages to help me:

    http://msdn.microsoft. com/en-us/library/ms228090.aspx
    http://msdn.microsoft. com/en-us/library/bb515343.aspx

    After performing all steps to the best of my knowledge, I still get the same error.
    Am I going about solving the file handler problem in the right way?

    Has anyone had this problem when using IIS 7 but not with previous versions of IIS and if so, how id you get round the problem?
  • JamieHowarth0
    Recognized Expert Contributor
    • May 2007
    • 537

    #2
    Hi mbewers1,

    Are you using custom extensions or extensionless URLs for your ASP.NET site?
    ASP.NET support on IIS7 should be out-of-the-box. You may wish to try and run from a commandline "aspnet-regiis" as this hooks ASP.NET into IIS and adds the necessary handler mappings.

    If this doesn't work first-time then you may need to uninstall ASP.NET from IIS by using the -u switch with aspnet-regiis, reboot, then re-installing it using the -i switch.

    Hope this helps.

    codegecko

    Comment

    Working...