ASPX throws "404 The resource cannot be found"

Solution 1:

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