POST Ajax call results in not found using jqGrid and ASP.NET MVC 2 on IIS6
Posted
by Dan
on Stack Overflow
See other posts from Stack Overflow
or by Dan
Published on 2010-05-12T13:11:17Z
Indexed on
2010/05/12
13:14 UTC
Read the original article
Hit count: 219
This is puzzling me. I deployed an MVC 2 application to IIS6 and everything works fine except for my jqGrid calls to get data.
All is well on my development machine, but here are the two URLs I'm working with
Local dev web server:
POST http://localhost:port/Ctrl.mvc/JsonMethod
IIS6 (notice https - not sure if that matters)
POST https://www.domain.com/AppName/Ctrl.mvc/JsonMethod
The latter URL results in a HTTP 404, which is really confusing as all works well on my local machine. The JsonMethod
is properly declared with [AcceptVerbs(HttpVerbs.Post)]
Let me know if any more info is needed - I appreciate any and all help with this!
© Stack Overflow or respective owner