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???
MEMBERSHIP PROVIDER
The tag should contain "defaultProvider" attribute, like the following:
Code: Select all