IIS7 integrated mode MVC deploy 404 not found on some actions

Posted by majkinetor on Stack Overflow See other posts from Stack Overflow or by majkinetor
Published on 2010-04-07T14:49:08Z Indexed on 2010/04/07 15:33 UTC
Read the original article Hit count: 297

Filed under:
|

Hello.

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

One interesting thing is that 1 AJAX action is working.

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.
  • Along web.config in root there is web.config in /View folder referencing HttpNotFoundHandler.
  • OS is Windows Server 2008.
  • Admins issued aspnet_regiis.exe -i
  • IIS 7

Any help is appreciated. Thx.

EDIT:

Noticed one very strange thing. One ajax call works, other ajax call doesn't works as I login, but when I move to ther page and return to that one it starts working ?!

Small video of the problem is available here

© Stack Overflow or respective owner

Related posts about mvc

Related posts about deploying