The Role Manager feature has not been enabled

Discussion in 'Databases' started by TennChris, Oct 30, 2012.

  1. This post contains the problem and solution.

    Background: Published a MVC application that includes the Authentication / Membership tools built-in to Microsoft's MVC Internet Template in VS 2012. So the web.config file was basically created from Microsoft's template. The app was running fine on my local server.

    Problem: Getting, when running off the Winhost server (one of the Windows 2012 servers, ASP.NET 4.5) the exception error,
    "Server Error in '/app' Application The Role Manager feature has not been enabled.

    Exception Details: System.Configuration.Provider.ProviderException: The Role Manager feature has not been enabled

    Solution: Add to the web.config the following:
    <add key="enableSimpleMembership" value="true" />

    Hope this helps someone. Have a great day, CP
    Last edited by a moderator: Oct 14, 2015
  2. Elshadriel

    Elshadriel Winhost Staff

    Thanks for posting the solution. I'm sure it will help someone out. :)

Share This Page