Permanent user accounts are disabled by default. After a Web Forms application is successfully deployed, the IIS server administrator can use this procedure to set up permanent user accounts.
It uses the default ASP.NET membership provider and data source assignment. (A note in the procedure describes a required change to the web.config file when you use a nondefault connection string.)
<!-- <roleManager enabled="true" /> --> ... <!-- <add name="AspNetSqlMembershipProvider" ... passwordStrengthRegularExpression=""/> -->
<roleManager enabled="true" /> ... <add name="AspNetSqlMembershipProvider" ... passwordStrengthRegularExpression=""/>
If you proceed to the next step without modifying write permissions, you may get an error page indicating that you do not have write authority for this directory. The error page also explains how to grant write authority for the directory.
User name | Password | Role |
---|---|---|
admin | a123456& | admin |
user | a123456& | user |
The UsersInit.aspx returns a success page after the above user accounts are created.