ASPX throws "404 The resource cannot be found"

5,651

I think you can use the tool: aspnet_regiis.exe to reinstall script maps for IIS. Remember to completly reset IIS by using command: iisreset.

Document here: http://msdn.microsoft.com/en-us/library/k6h9cz8h.aspx

Share:
5,651

Related videos on Youtube

Admin
Author by

Admin

Updated on September 17, 2022

Comments

  • Admin
    Admin over 1 year

    I'm deploying a website under a virtual directory using IIS. For some strange reason, Default.html works, but Default.aspx throws a 404.

    I have tried these:

    • There's another virtual directory that contains an older version of the application and that one just works. I checked the properties of each virtual directory and they looked the same.
    • I checked that the root didn't had any extra backslashes