DCSIMG
Default Membership\Role Provider For a SharePoint 2010 Web Site - itaysk

Default Membership\Role Provider For a SharePoint 2010 Web Site

Posted Thursday, July 01, 2010 7:12 PM by Itay Shakury

When you setup the providers for the IIS web site, don’t change the default providers for Membership and Roles to your SQL Membership providers. It might appear as working, but problems will arrive sooner or later.
I chose to emphasize this because some tutorials for SharePoint 2007 instructed to change the default provider. But in 2010, there’s the new Claims Based Model that has providers of it’s own, so we shouldn’t change this setting anymore.

If you use the IIS 7 console to make these changes, it should look like this:

When you go to the website, and click “.NET Users” (which is the equivalent of Membership in web.config), you should see this error message:

default_provider_1

“The feature cannot be used because the default provider is not a trusted provider.”


This message is OK because the default claims providers are trusted, and that is alright.
Click OK, and then “Set Default Provider…” link in the top right menu.
The selected option should be “i” for .NET Users, and “c” for .NET Roles. Keep it that way.

default_provider_2

default_provider_3

תגים:,

Comments

# Twitter Trackbacks for Default Membership\Role Provider For a SharePoint 2010 Web Site - itaysk [microsoft.co.il] on Topsy.com

Pingback from  Twitter Trackbacks for                 Default Membership\Role Provider For a SharePoint 2010 Web Site - itaysk         [microsoft.co.il]        on Topsy.com

# What is the most tactful and effective way of requesting an English as their 1st language Customer Service Rep | Custom oil painting

Pingback from  What is the most tactful and effective way of requesting an English as their 1st language Customer Service Rep | Custom oil painting

# Guardian To Offer Disability Insurance Coverage For New York Small Businessescheap coach | cheap coach

Pingback from  Guardian To Offer Disability Insurance Coverage For New York Small Businessescheap coach | cheap coach

# Any Houston based claims managers overly pleased with the quality of adjusters with their carrier?cheap coach | cheap coach

Pingback from  Any Houston based claims managers overly pleased with the quality of adjusters with their carrier?cheap coach | cheap coach

# re: Default Membership\Role Provider For a SharePoint 2010 Web Site

Friday, March 25, 2011 6:04 PM by dglds

I have a site the uses Windows authentication, and I extended the site and enabled FBA on it so that I can allow internal and external people to login to my SharePoint site.  I thought I added users to the membership through the IIS Manager (clicking .NET Users on the site and then clicking on Add).  However, clicking .NET Users gives me the error you address in this post.  So...how do I add users to the membership store?  Do I have to write an account management page to manage the accounts?

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: