0
votes

I have a ASP.NET MVC app and when I run it, it loads my Index action on my HomeController by default ok.

But when I put in this URl I get 404 - Not Found error

http://localhost/MyGoogleApp/Home/Index

This is the same for any action I put in in Home Controller.

Something fundamentally wrong, any ideas?

Malcolm

1
What version of IIS are you using?lomaxx
IIS7 on Vista, does that help.Malcolm

1 Answers

1
votes

You probably have a configuration problem with URL mapping in IIS itself. I haven't worked much with IIS7, but I think this is what you should check:

  1. Managed pipeline mode should be 'Integrated'.
  2. web.config should include system.webServer with all standard stuff new MVC project puts there (I can't check what exactly right now).