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

Refers to:

  • Plesk 11.0 for Windows
  • Plesk 11.5 for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Created:

2016-11-16 12:55:54 UTC

Modified:

2016-12-21 19:33:50 UTC

0

Was this article helpful?


Have more questions?

Submit a request

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

Symptoms

The following error is encountered while trying to browse any .aspx file after a domain migration from the server side:

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

Cause

The website has incorrect request handlers defined in IIS.

Resolution

  1. Access the IIS Management console (type 'inetmgr' in the Windows 'Run' menu)
  2. Expand the "Sites" folder, find a problem domain and click "Handler Mappings"
  3. From the list of request handlers, find the one which has a 'StaticFileModule' entry in 'handler' column. Right-click on the handler, and choose 'revert to parent' in the contextual menu
  4. Disable and then re-enable ASP support for the domain from Parallels Plesk Control Panel
  5. If the issue persists, reconfigure the problem domain:

    For Plesk 11.5:

    "%plesk_cli%"\\repair.exe --reconfigure-web-site domain.tld

    For Parallels Plesk Panel versions below 11.5:

    "%plesk_dir%"\\websrvmng.exe --reconfigure-vhost --vhost-name=domain.tld
  6. If the issue still persists, re-install the ASP.NET feature component via Windows Server Manager.

Have more questions? Submit a request
Please sign in to leave a comment.