This project is read-only.

[Service, HttpPostOnly]

Topics: Developer Forum, Project Management Forum, User Forum
May 27, 2010 at 12:21 AM



I bought your book for TheBeerHouse MVC version and currently following it. I finished the solution part of Membership. When I try to run it is giving an error for

[Service, HttpPostOnly]

at action

[Authorize(Roles = “Admin”)]
[Service, HttpPostOnly]
public ActionResult DeleteRole(string id)
    return View(new { id = id });


As I researched it is related to ManagedFusion something. Can you please suggest how to solve this problem?



May 27, 2010 at 6:47 AM

Can you check javascript file ? i think there is routing problem in global.asax

May 27, 2010 at 11:08 AM

This error is in the UserController not in the Java Script. Also what can be the problem with Global.asax