Well a potential is that RewritePath to / has some sort of bug, so just avoid that. Changing the RewritePath(Request.ApplicationPath) to:
HttpContext.Current.RewritePath("/Home/Index");
Seems to fix the problem, and at least the demo works so far.
More Related Contents:
- Why map special routes first before common routes in asp.net mvc?
- getting the values from a nested complex object that is passed to a partial view
- jQuery Ajax calls and the Html.AntiForgeryToken()
- How to use jquery or ajax to update razor partial view in c#/asp.net for a MVC project
- How to mock the Request on Controller in ASP.Net MVC?
- How and where to define an environment variable on Azure
- How to force ASP.NET Web API to always return JSON?
- How to disable a global filter in ASP.Net MVC selectively
- HTTP Error 403.14 – Forbidden The Web server is configured to not list the contents
- Stream file using ASP.NET MVC FileContentResult in a browser with a name?
- Where can I find a list of escape characters required for my JSON ajax return type?
- ASP.NET MVC Forms Authentication + Authorize Attribute + Simple Roles
- MVC Html.Partial or Html.Action
- ASP.NET MVC – HTTP Authentication Prompt
- MVC ViewBag Best Practice [closed]
- DataAnnotations dynamically attaching attributes
- Why should I use @Url.Content(“~/blah-blah-blah”)?
- Attempt by security transparent method ‘WebMatrix.WebData.PreApplicationStartCode.Start()’
- ASP.Net MVC and state – how to keep state between requests
- How to replace the default ModelState error message in Asp.net MVC 2?
- ASP.net MVC support for URL’s with hyphens
- Getting the name of the controller and action method in the view in ASP.Net MVC
- MVC DropDownList SelectedValue not displaying correctly
- How can I RedirectToAction within $.ajax callback?
- Having difficulty using an ASP.NET MVC ViewBag and DropDownListfor
- How do I enable gzip compression when using MVC3 on IIS7?
- Intermittent asp.net mvc exception: “A public action method ABC could not be found on controller XYZ.”
- Disable client-side validation in MVC 3 “cancel” submit button
- post and get with same method signature
- Routing with and without controller name in ASP.NET MVC 4