Whereas after publishing the site, when I try to update(PUT OPERATION) any information the app gives me a 404 error.... Well I followed this link for some configuration in IIS on my Server, but the issue still remains.
http://geekswithblogs.net/
I also checked the routes, and everything looks fine. This is how my WebAPI route looks....
public static void Register(HttpConfiguration config)
{
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/{controller}/{id}",
defaults: new { id = RouteParameter.Optional }
);
config.Routes.MapHttpRoute(
name: "NewActionApi",
routeTemplate: "api/{controller}/{action}/
defaults: new { id = RouteParameter.Optional }
);
}
Please help if possible. The GET, PUT, POST and DELETE operations work fine locally but the PUT operation fails on Production. Please help. Let me know if you need any more information.
Thank you.

Jaganathan BantheswaranPosted Nov 12, 2013, 12:15 AM