views:

348

answers:

1

Hello.

Once deployed parts of my web-application stop working. Index-es on each controller do work, and one form posting via Ajax, Login works too. Other then that yields 404. I understand that nothing particular should be done in integrated mode.

I don't know how to proceed with troubleshooting.

Some info:

  • App is using default app pool set to integrated mode.
  • WebApp is done in net framework 3.5.
  • I use default routing model.
  • OS is Windows Server 2008.
  • IIS 7

Any help is appreciated. Thx.

EDIT: I determined that only actions that accept ID parameter don't work. On the contrary, when I add dummy id method in Home controller of default MVC app it works.

EDIT 2: I found the problem. Links on few pages of the site didn't use ActionLink helper. It was harder to see because of the Ajax invoking. So, never hardcode links to the actions on the site, even temporary.

A: 

I have the same problem here, IIS 7.5 on Win 7 with ASP.NET MVC 2 RTM Login post works, routing works but when I send an Ajax call with JQuery to an action with AcceptVerbs POST I get the same error ...