MEMBERSHIP PROVIDER

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
JORGEMAL
Posts: 171
Joined: Thu 03 Jul 2008 23:55

MEMBERSHIP PROVIDER

Post by 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:






























section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->

section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.





-->









Is there anything missing???

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

Post by AndreyR » Tue 04 Nov 2008 07:26

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

Post Reply