Reputation: 7098
Ok, so Im one of the 100's of people having issues getting ASP MVC running on IIS6.
I have followed several tutorials including this and this, but still no joy. All I see is the standard IE 404 file not found page.
Now in order to ensure that my site is pointing to the correct location I have added a stub index.html file in the root dir. When I navigate to this file I get the 404 error, BUT if I turn off wildcard mapping for all urls through aspnet_isapi.dll then I CAN navigate to the index file.
So my question basically is, what gives?
Upvotes: 0
Views: 774
Reputation: 19214
Make sure that you are not checking the "verify that file exists" button on the wildcard mapping.
Then make sure you have a Default.aspx file in the root of your web with this code in it:
protected void Page_Load(object sender, EventArgs e)
{
HttpContext.Current.RewritePath(Request.ApplicationPath, false);
}
Upvotes: 1