Share via


Access is denied: Error message 401.2

Question

Wednesday, May 16, 2012 7:56 AM

Hi,

i am using SharePoint 2010. Yesterday i tried to create a web application based on FBA. I followed this article and created the web application. Once i tried to access it, i can access the site collection from windows authentication but when i tried FBA it said  Could not connect to server. Check you username and password and try again. I tried alot to fix that issue but couldnt so i undid everything that i did. Once done, i was unable to access my central admin so i run the configuration wizard. Now the central admin main page is accessible, but when ever i try to access any option i get this error

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.

Really need your help on this before i somebody sees this and kills me. I havent did anything to web.config manually. Any hints what is going worng here.

_________ Fahad Ahmed Khan .NET Articles, Web Development, SharePoint and Project Server Custom Solution Provider

All replies (3)

Wednesday, May 16, 2012 10:12 AM âś…Answered

i got it fixed all by myself....well as i said that i created a web application using FBA(which didnt worked out). somewhere in making it work I enabled the ".Net Role" from IIS Manager. I disabled it and it strated working again. 

@Hemendra thanks for your post

_________ Fahad Ahmed Khan .NET Articles, Web Development, SharePoint and Project Server Custom Solution Provider


Wednesday, May 16, 2012 8:01 AM

i forgot to paste the link 

http://donalconlon.wordpress.com/2010/02/23/configuring-forms-base-authentication-for-sharepoint-2010-using-iis7/

In IIS manager only ASP.Net Impersonation and windows auth is enabled. 

_________ Fahad Ahmed Khan .NET Articles, Web Development, SharePoint and Project Server Custom Solution Provider


Wednesday, May 16, 2012 8:56 AM

Hi,

Check this similar thread.

http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/ab863555-8efe-4732-a366-56d7d244b75e

Let us know if it works

Cheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"