Access Denied error message after configuring the FBA in SharePoint 2010

Error Message:

Access is denied.

Server Error in ‘/’ Application.


Access is denied.

Description: An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL.

Error message 401.2.: Unauthorized: Logon failed due to server configuration.  Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server.  Contact the Web server’s administrator for additional assistance.

In SharePoint 2010 Central Admin link which has _admin part prompts for logins

Steps to regenerate error:

Solution:

Navigate to the IIS, and disable the .Net Role feature for the Central Administratio web application..

Similar link https://social.msdn.microsoft.com/Forums/sharepoint/en-US/c87cc189-ffcc-4a54-a856-7c89dedd97ce/access-is-denied-error-message-4012?forum=sharepointgeneralprevious