Knowledgebase: DotNetNuke
Can't log in after upgrading DNN version 7.1
Posted by Sean Syed on 24 November 2013 01:06 AM

You recently upgrade your DNN version, after upgrade you cannot login to your website and get "A critical error has occurred. An unexpected error has occurred". 

The database upgraded successfully and you don't see any errors in the server logs.

Fix:

In your web.config try changing 

<members defaultProvider="AspNetMembershipProvider">
<providers>
 <clear />

        <add name="AspNetMembershipProvider" type="DotNetNuke.Security.Membership.AspNetMembershipProvider, DotNetNuke.Provider.AspNetProvider" providerPath="~\Providers\MembershipProviders\AspNetMembershipProvider\" />
      </providers>
    </members>

to


<members defaultProvider="AspNetMembershipProvider">
      <providers>
        <clear />
        <add name="AspNetMembershipProvider" type="DotNetNuke.Security.Membership.AspNetMembershipProvider, DotNetNuke" providerPath="~\Providers\MembershipProviders\AspNetMembershipProvider\" />
      </providers>
    </members>

(4 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).