IIS: HTTP Error 404.17 – Not Found – Static File Handler

Collapse

Unconfigured Ad Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Annie_P
    Member
    • Aug 2022
    • 75

    IIS: HTTP Error 404.17 – Not Found – Static File Handler

    Hello,

    I got the following error in IIS,

    HTTP Error 404.17 - Not Found
    The requested content appears to be script and will not be served by the static file handler.

    Can you please help us to fix the issue?
  • Rex Maughan
    Senior Member
    • Mar 2022
    • 105

    #2
    AccuWeb.Cloud
    Hello Annie_P


    I hope you are doing well!

    The HTTP Error 404.17 - Not Found error can occur for different reasons. It includes an incorrect setting of the Application pool's .NET framework, ISAPI, and CGI Restrictions within IIS.

    Here are some of the causes for the error to occur:

    Usually, this error occurs when the .NET framework of the Application pool is not set correctly for the compiled application. Another cause is that when required .NET framework has the restriction in 'ISAPI and CGI restrictions 'within IIS. Sometimes, this error can also occur due to changes in Application Pool Settings.

    However, you can follow the below-given ways to resolve the issue,
    • Firstly, press the Windows logo + R key to open the Run command
    • Then, type 'INETMGR' and hit Enter to open the IIS manager.
    • Now, select the Server name.
    • Next, navigate to the right-side window pane and select the ISAPI and CGI Restrictions option.
    • Lastly, change the Not Allowed restrictions for the essential framework to Allowed restriction.

    If there's no required framework exists in ISAPI and CGI restrictions, then you will have to re-register the framework using the below command,
    • First, go to the Start menu, search for the Run command, and press Enter.
    • Now, on the Run command dialog box, you must enter the below command,

    C:\Windows\Microsoft.NET\Framework\v4.0.30319 \aspnet_regiis.exe -i
    • After pasting the above command, hit Enter.
    • Then, set the required .NET version in an Application pool
    • Next, you should Enable 32-bit application in the Application pool
    • Lastly, restart the IIS and browse the website.
    Note: The above command is for .NET framework 4.0. You can use the same command for any .NET framework versions


    Thus, it will fix the HTTP Error 404.17 - Not Found error and make the website run efficiently without any errors. I hope the fixes above help you to resolve the issue.

    ----------------------
    Regards,
    Rex Maughan

    Comment

    Working...
    X