I have an existing ASP.NET 3.5 WebForms project and have added ASP.NET MVC to the project. The existing pages work fine and so do the new controllers & views. However, when I deploy to IIS 7 the default document (default.aspx) is no longer working. I can get to it if I type it in explicitly but ‘xyz.com’ doesn’t work – I get a 404. In contrast, it does work fine in Cassini.
How do I get the default document working again while still retaining the new MVC stuff.
I added the following to the
Global.asx.csfile and the default document works again.