0

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

2
  • What version of IIS are you using? Commented Sep 26, 2009 at 6:49
  • IIS7 on Vista, does that help. Commented Sep 26, 2009 at 6:51

1 Answer 1

1

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).
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.