Add this in your web.config (in the appSettings section):
<add key="enableSimpleMembership" value="false"/>
<add key="autoFormsAuthentication" value="false"/>
EDIT:
For the ones who ask why, it is a known issue described in the mvc 3 release notes
More details here
More Related Contents:
- Using Ajax.BeginForm with ASP.NET MVC 3 Razor
- Cascading drop-downs in MVC 3 Razor view
- Getting “A potentially dangerous Request.Path value was detected from the client (&)”
- ASP.NET MVC Ajax Error handling
- Handling session timeout in ajax calls
- ASP.NET MVC 3 client-side validation with parameters
- How do you share scripts among multiple projects in one solution?
- MVC3 unobtrusive validation group of inputs
- HTML.ActionLink vs Url.Action in ASP.NET Razor
- Using System.ComponentModel.DataAnnotations with Entity Framework 4.0
- Differences between Html.TextboxFor and Html.EditorFor in MVC and Razor
- How to change ‘data-val-number’ message validation in MVC while it is generated by @Html helper
- Is there any good reason to use FormCollection instead of ViewModel?
- ASP.NET MVC3 and Windows Auth on IIS keeps redirecting to /Account/Login
- pass enum to html.radiobuttonfor MVC3
- Best place to set CurrentCulture for multilingual ASP.NET MVC web applications
- ASP.NET MVC – Authenticate users against Active Directory, but require username and password to be inputted
- asp.net mvc keep object alive, information
- Is using ViewBag in MVC bad? [closed]
- MVC 3 file upload and model binding
- Does Razor syntax provide a compelling advantage in UI markup?
- ASP.net MVC – Display Template for a collection
- Implementing “Remember Me” Feature in ASP.NET MVC
- How to reuse Areas, Controllers, Views, Models, Routes in multiple apps or websites
- Redirect to Action in another controller
- active menu item – asp.net mvc3 master page
- In what order are filters executed in asp.net mvc
- Html.DisplayFor not posting values to controller in ASP.NET MVC 3
- How do I create my own Scaffold Template in ASP.NET MVC 3?
- MVC Forms LoginUrl is incorrect