Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrade from 7.x to latest 8.x... no errors, but can't log in without errorUpgrade from 7.x to latest 8.x... no errors, but can't log in without error
Previous
 
Next
New Post
6/16/2016 12:55 AM
 

I successfully upgraded to the latest version (no errors in the process).

I went to the site and it seems operational, however, when I go to log in (to access the DNN admin/host tool bar).... I enter my user credentials and then get a page refresh with the following error:

A critical error has occurred. Please check the Event Viewer for further details. 

I can't log in, so I can't access the Event Viewer to debug the issue.

Any ideas?

Chuck

 
New Post
6/16/2016 8:06 PM
 
check vw_eventlog in the database

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/24/2016 2:15 PM
 
This is what is in the event log... I see the duplicate key error (no clue how it happened) but not sure what steps to fix it.

LogGUID LogTypeKey LogConfigID LogUserID LogUserName LogPortalID LogPortalName LogCreateDate LogServerName LogProperties LogNotificationPending LogEventID ExceptionHash AssemblyVersion PortalId UserId TabId RawUrl Referrer UserAgent Message StackTrace InnerMessage InnerStackTrace Source
dd5d8e3f-5fed-4ca3-8e77-9f53a13c24d6 PAGE_LOAD_EXCEPTION 6 NULL NULL 0 LCB Paralegal 2016-06-24 14:08:26.633 XDNN01 AbsoluteURL/Default.aspxDefaultDataProviderDotNetNuke.Data.SqlDataProvider, DotNetNukeExceptionGUIDde37173a-f8c7-4eec-892a-d542a93225bb NULL 6142 YKb/SCxKFZ2Z8hrNyAylSQ== 8.0.3 0 -1 58 /login.aspx?ReturnUrl=/&popUp=true http://www.lcbparalegal.ca/login.aspx?ReturnUrl=/&popUp=true Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 Violation of UNIQUE KEY constraint 'IX_Users'. Cannot insert duplicate key in object 'dbo.Users'. The duplicate key value is (admin@mydomain.com). Cannot insert duplicate key row in object 'dbo.aspnet_Users' with unique index 'aspnet_Users_Index'. The duplicate key value is (59b6531d-2339-4976-ade0-b7ba8cad61b0, admin@mydomain.com). The statement has been terminated. The statement has been terminated. NULL Violation of UNIQUE KEY constraint 'IX_Users'. Cannot insert duplicate key in object 'dbo.Users'. The duplicate key value is (admin@mydomain.com). Cannot insert duplicate key row in object 'dbo.aspnet_Users' with unique index 'aspnet_Users_Index'. The duplicate key value is (59b6531d-2339-4976-ade0-b7ba8cad61b0, admin@mydomain.com). The statement has been terminated. The statement has been terminated. at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at PetaPoco.Database.Execute(String sql, Object[] args) at DotNetNuke.Data.PetaPoco.PetaPocoHelper.ExecuteNonQuery(String connectionString, CommandType type, String sql, Object[] args) at DotNetNuke.Data.DataProvider.ChangeUsername(Int32 userId, String newUsername) at DotNetNuke.Security.Membership.AspNetMembershipProvider.ChangeUsername(Int32 userId, String newUsername) at DotNetNuke.Modules.Admin.Authentication.DNN.Login.OnLoginClick(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) NULL
 
New Post
6/28/2016 9:16 AM
 
for some strange reason DNN tries to change the user name - are you using Email instead of username?
This would copy email to username column, which is unique and the copy fails, if there is already a user record with this email as username.
to verify, you may run SELECT * from ASPNET_users WHERE username = N'admin@mydomain.com'

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrade from 7.x to latest 8.x... no errors, but can't log in without errorUpgrade from 7.x to latest 8.x... no errors, but can't log in without error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out