Server Error in '/' Application.

The Role Manager feature has not been enabled.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

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

Source Error:


Line 4:  
Line 5:  	void Application_Start(object sender, EventArgs e) {
Line 6:  		if (!Roles.RoleExists("Administrators")) Roles.CreateRole("Administrators");
Line 7:  	}
Line 8:  	

Source File: g:\pleskvhosts\jlscweb.com\httpdocs\Global.asax    Line: 6

Stack Trace:


[ProviderException: The Role Manager feature has not been enabled.]
   System.Web.Security.Roles.EnsureEnabled() +9842267
   System.Web.Security.Roles.RoleExists(String roleName) +13
   ASP.global_asax.Application_Start(Object sender, EventArgs e) in g:\pleskvhosts\jlscweb.com\httpdocs\Global.asax:6

[HttpException (0x80004005): The Role Manager feature has not been enabled.]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +10110183
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +123
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +181
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +228
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +314

[HttpException (0x80004005): The Role Manager feature has not been enabled.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +10090424
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +99
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +263


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0