Default Membership\Role Provider For a SharePoint 2010 Web Site

1 ביולי 2010

תגיות: ,
5 תגובות

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

הוסף תגובה
facebook linkedin twitter email

כתיבת תגובה

האימייל לא יוצג באתר. שדות החובה מסומנים *

5 תגובות

  1. dglds25 במרץ 2011 ב 18:04

    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?

    הגב
  2. seo22 באוקטובר 2012 ב 19:39

    FYI: I actually experimented with copying the BlogWealthMaker website along with Pattern Micro blocked it as a harmful internet site therefore be warned!

    הגב
  3. Gagne9 במאי 2013 ב 5:44

    Quality posts is the important to attract the visitors to visit the web page, that's what this web site is providing.

    הגב
  4. Egan9 במאי 2013 ב 6:43

    This info is priceless. When can I find out more?

    הגב
  5. Castellano20 בספטמבר 2013 ב 18:33

    What's Going down i'm new to this, I stumbled upon this I've found
    It positively useful and it has aided me out loads. I'm hoping
    to give a contribution & help different users like iits helped
    me. Great job.

    הגב