Users don't load Sitefinity

83 views Asked by At

I'm having an issue with SitefinityMembershipProvider in Sitefinity 9.1

When I login to the backend, navigate to Administration -> Users:Page keeps loading.
When I checked the error log it tells me that "Provider must implement the class 'System.Web.Security.MembershipProvider".

But my class inherits sitefinity membership provider i.e. MembershipDataProvider which is of type Telerik.Sitefinity.Security.Data.

My web config have the following membership defined.

<membership defaultProvider="Default">
    <providers>
        <clear />
        <add name="Default" type="Telerik.Sitefinity.Security.Data.SitefinityMembershipProvider, Telerik.Sitefinity" />
        <add name="CredentialServiceProvider" type="SitefinityWebApp.Providers.CredentialServiceProvider" />
    </providers>
2

There are 2 answers

1
Veselin Vasilev On

You need to register the provider in the Security settings as explained here:

http://docs.sitefinity.com/custom-membership-provider-add-the-new-provider-to-the-sitefinity-providers-collection

0
user2392108 On

Additionally, I had to remove the custom provider from the web.config

<providers>
    <clear />
    <add name="Default" type="Telerik.Sitefinity.Security.Data.SitefinityMembershipProvider, Telerik.Sitefinity" />
</providers>