MEMBERSHIP PROVIDER

MEMBERSHIP PROVIDER

Postby JORGEMAL » Mon 03 Nov 2008 18:55

I started to work with the Membership Provider to create users. I already have run the InstallWebTables.sql script and all the tables are ready. The form to get the user information is ready but when the CreateUser method is called I get the following error message:
************************************************************
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Default Membership Provider could not be found.

Source Error:


Line 71:
Line 72: -->
Line 73:
Line 74:
Line 75:


Source File: C:\e-restdelivery\web.config Line: 73
************************************************************

The tag was added to the web.config file as follows:






providerName="CoreLab.PostgreSql" />




































description="PostgreSQLDirect membership provider" connectionStringName="PgSqlConnection"
enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true"
requiresUniqueEmail="true" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7"
minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" />





Is there anything missing???
JORGEMAL
 
Posts: 164
Joined: Thu 03 Jul 2008 23:55

Postby AndreyR » Tue 04 Nov 2008 07:26

The tag should contain "defaultProvider" attribute, like the following:

Code: Select all
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16


Return to dotConnect for PostgreSQL