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
Best Answer
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