I have just deployed my asp.net mvc-2 website to a server (using dotnetpanel). But getting this error
A default document is not configured for the requested
I know its too late to post answer, but i found completely differently scenario. I tried all possible solution given above but that not works for me. I found very silly mistake / ignorance in my case I checked IIS manager window carefully and found asp.net section was missing there. I have made Turn Windows features on for ASP.net, below is the steps
- Open Control Panel
- Programs\Turn Windows Features on or off Internet
- Information Services World Wide Web Services Application development
- Check for - >Features ASP.Net
I have closed IIS manager window and reopened it, now ASP.NET section is visible. just browse hosted website and it's up on browser.