Forms Authentication - Access Denied

Topics: Developer Forum, User Forum
Feb 28, 2007 at 7:03 AM
I've implemented the forms authentication and am able to login. The problem is that I am receiving Access Denied when I click on Site Settings.

Any suggestions would be appreciated!
Feb 28, 2007 at 5:16 PM
Edited Feb 28, 2007 at 5:25 PM
The user has to be listed as a site collection admin.
Mar 1, 2007 at 2:17 AM
Sorry for my ignorance, but how can I add a user as a site collection admin?

Thanks!
Mar 1, 2007 at 3:47 AM
I've deployed the Administration customauthenticationsolution.wsp to my site, but it doesn't show up as a feature that I can activate within my site features. I've performed an IISRESET.

Any advice would be appreciated.
Coordinator
Mar 1, 2007 at 8:50 AM

tadosborn wrote:
I've deployed the Administration customauthenticationsolution.wsp to my site, but it doesn't show up as a feature that I can activate within my site features. I've performed an IISRESET.

Any advice would be appreciated.


Hi, have you deployed the feature from "Central Administration > Operations" section?.
The feature will install but you need to deploy it to your site collection. Please check that you have followed the steps in my help guide.
http://chandima.net/Blog/Lists/Posts/Post.aspx?ID=6
Regards
Chandima
Mar 1, 2007 at 1:50 PM
Thanks for the reply Chandima. I have deployed the feature in Central Admin and when I attempt to activate it, SharePoint replys with an Access Denied.

Mar 3, 2007 at 6:50 PM
OK, making progress, but I'm not seeing the groups when I add a user. Is there a way to rebuild the groups so that the users can be granted the proper permissions?
Mar 3, 2007 at 6:50 PM
Edited Mar 3, 2007 at 6:58 PM
Coordinator
Mar 4, 2007 at 10:12 AM

btado wrote:
OK, making progress, but I'm not seeing the groups when I add a user. Is there a way to rebuild the groups so that the users can be granted the proper permissions?

Please check that you are logged on as a site administrator for the site collection. And when you refer to "Groups" are you referring to SharePoint people and groups?
Mar 4, 2007 at 2:37 PM
Yes, I'm logged in as a site administrator. I try to add users using the User Administration interface and the groups drop down box is empty! This happened when I changed the content database to an existing content database. Is there a way to rebuild the groups?
Mar 5, 2007 at 2:40 AM
OK. Figured it out. I went to the root site and reapplied the groups in that site...then they showed up in the Admin site list when attempting to add a user in the web part. I was looking at the groups in the admin site.
Mar 20, 2007 at 4:12 PM
Has anyone found a fix for this? Access Denied when Activating in Site collenction Features on the site. I am logged in as the Site collection Admin. Are there any error logs I can check to see where the error is?
Mar 20, 2007 at 4:33 PM
Edited Mar 20, 2007 at 4:34 PM
Solution to Access Denied error when activation Site Collection Features.

http://msmvps.com/blogs/obts/archive/2007/01/30/528982.aspx

It is a access denied to your Application Pool for this site. If it is diffrent then the Central Administration site then it may fail. The above link talks about this. I fixed this by matching the Account for the Application Pool to the Central Administration Site.

Central Administration | Operations | Service Accounts | Select Web Application Pool | Windows SharePoint Services Web Application | Application Pool for your site | Then change the account to match Central Admin pool account.

Make sure you do IISRESET /noforce
Go to your site Activation Solution then change Application Pool Account back to what you want it. Make sure you put it back to where it was or you might loss access to your users and roles in sql if that account was not give access to the user database in sql.

Hope this help,


Jeremy
Apr 4, 2007 at 12:21 AM
The other solution mentioned at: http://msmvps.com/blogs/obts/archive/2007/01/30/528982.aspx works just as well. Run the command:
stsadm -o activatefeature -name useradminwebparts -url http://<your url here>
This avoids the mess of changing your application pool accounts around.
Apr 4, 2007 at 4:54 PM

sylver wrote:
The other solution mentioned at: http://msmvps.com/blogs/obts/archive/2007/01/30/528982.aspx works just as well. Run the command:
stsadm -o activatefeature -name useradminwebparts -url http://<your url here>
This avoids the mess of changing your application pool accounts around.


Thanks a million, you solved me a lot of hastle. I couldn't get the stsadm feature to work correctly, but I did get the alternative method mentioned to work. If using the switching of application pools, be sure to keep the application pool to the central admin site until you can actually add users.