SwissChecklist

Checklist: Using DotNetNuke Membership on Local Project

If you want to test a Project which runs in DotNetNuke on your local system, you have to make some little changes in the web.config to be able to login with a DNN User
  • Change Settings in your local web.config

    Show Details Show Substeps Show Substeps Show Substeps
    It should look like your DNN's config:
    <authentication mode="Forms">
       <forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies" />
    </authentication>
  • Ensure Profile-, Membership- and RoleProvider are set correctly

    Show Details Show Substeps Show Substeps Show Substeps
    The Providers should link to the DotNetNuke Database!
  • Make a Login Control, which fires the "Authenticate" Event

    Show Details Show Substeps Show Substeps Show Substeps
    In this event, you have to set the e.Authenticated to true.

    protected void Login1_Authenticate(object sender, AuthenticateEventArgs e)
        {
            //...validation code...
            e.Authenticated = true;
        }
  • New Step

    Show Details Show Substeps Show Substeps Show Substeps
Use this Checklist

Preview/Print

Use

Change

Sort