Verification link causes an error

Description

Please test linked issue also because this issue causes a slighly different symptom on Evoq.
This issue must be tested on all products: Platform, Basic, Content, Engage

QA Notes:

  • Verify that error below is NOT logged in the log4net or event viewer.

  • Verify that the browser does not show DNN Error as shown in the screenshot in

Step to repro:

  1. Register an account with 'Verified' turned on.

  2. Email is send with verification link in it.

  3. User is already logged in with yellow bar explaining of unverified status.

  4. User clicks on link in email and it fails as described in forum post http://www.dnnsoftware.com/forums/forumid/200/threadid/523706/scope/posts

  5. User logs out and clicks again on verify link in email -> Success and verified.

No error in eventlog but only in Portals_default\Logs logfile:

2015-10-15 20:06:34,006 [MJKServer][Thread:57][FATAL] DotNetNuke.Framework.PageBase - An error has occurred while loading page.
System.Web.HttpException (0x80004005): The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
at System.Web.UI.ControlCollection.RemoveAt(Int32 index)
at System.Web.UI.ControlCollection.Clear()
at DotNetNuke.Modules.Admin.Authentication.Login. (EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

QA Test Plan

None

Status

Assignee

Bing Wu

Reporter

MJK

Story Size

S

Severity

Show Stopper

Triage

Verified

Reported in Build #

216

Fixed in Build

None

Dev Owner

None

Includes Code Fix

No

Documentation Required

None

Trouble Ticket

None

Requires More Info

None

QA Story Points

2

QA Owner

None

Injected

None

Automation Required

None

Code Review Owner

None

Story Points

2

Components

Sprint

None

Fix versions

Affects versions

Priority

High
Configure