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...Administration ...Administration ...Can't login with host account - A critical error has occurred. An unexpected error has occurred Can't login with host account - A critical error has occurred. An unexpected error has occurred
Previous
 
Next
New Post
10/1/2013 11:52 AM
 

I'm on dnn platform 7.0.4. The only change since my last successful login is upgrading the FaQ module.

Error details from admin event log:

Page Load Exception 

RawURL: /login.aspx?ReturnUrl=%2fDefault.aspx%3ftabid%3d1279%26error%3dAn%2520unexpected%2520error%2520has%2520occurred

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://www.fruitsteading.com/login.aspx?ReturnUrl=%2fDefault.aspx%3ftabid%3d1279%26error%3dAn%2520unexpected%2520error%2520has%2520occurred

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID: cceceebc-1316-4396-97be-1f641d5aa783

InnerException: Object reference not set to an instance of an object.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: DotNetNuke.Security.Membership.AspNetMembershipProvider.UserLogin

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Security.Membership.AspNetMembershipProvider.UserLogin(Int32 portalId, String username, String password, String authType, String verificationCode, UserLoginStatus& loginStatus) at DotNetNuke.Entities.Users.UserController.ValidateUser(Int32 portalId, String username, String password, String authType, String verificationCode, String portalName, String ip, UserLoginStatus& loginStatus) at DotNetNuke.Modules.Admin.Authentication.Login.OnLoginClick(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 

 
New Post
10/3/2013 4:22 PM
 
I don't know why that might cause an issue, the message may be a red herring (i.e. an exception earlier is bubbling up) - try setting the log4net configuration to All to see if it captures anything else (http://www.dnnsoftware.com/wiki/Page/log4net-In-DotNetNuke). Also, can you log in with another user or is the issue only with the host user?

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/3/2013 5:51 PM
 
this is for sure not caused by FAQ module, most likely, there is a user profile containing invalid data.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/15/2014 9:26 PM
 
cathal connolly wrote:
I don't know why that might cause an issue, the message may be a red herring (i.e. an exception earlier is bubbling up) - try setting the log4net configuration to All to see if it captures anything else (http://www.dnnsoftware.com/wiki/Page/log4net-In-DotNetNuke). Also, can you log in with another user or is the issue only with the host user?

Thanks Cathal, no issues with other users just the built in "host" account, the problem is I can't upload blogs via Windows Live Writer because of this.. here's the log4net details:

 

2014-09-15 21:16:27,435 [s17039828][Thread:11][FATAL] DotNetNuke.Framework.PageBase - An error has occurred while loading page.

System.NullReferenceException: Object reference not set to an instance of an object.

   at DotNetNuke.Security.Membership.AspNetMembershipProvider.UserLogin(Int32 portalId, String username, String password, String authType, String verificationCode, UserLoginStatus& loginStatus)

   at DotNetNuke.Entities.Users.UserController.ValidateUser(Int32 portalId, String username, String password, String authType, String verificationCode, String portalName, String ip, UserLoginStatus& loginStatus)

   at DotNetNuke.Modules.Admin.Authentication.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)

2014-09-15 21:16:27,435 [s17039828][Thread:11][ERROR] DotNetNuke.Services.Exceptions.Exceptions - ~/Default.aspx?tabid=1316&error=terminate

System.NullReferenceException: Object reference not set to an instance of an object.

   at DotNetNuke.Security.Membership.AspNetMembershipProvider.UserLogin(Int32 portalId, String username, String password, String authType, String verificationCode, UserLoginStatus& loginStatus)

   at DotNetNuke.Entities.Users.UserController.ValidateUser(Int32 portalId, String username, String password, String authType, String verificationCode, String portalName, String ip, UserLoginStatus& loginStatus)

   at DotNetNuke.Modules.Admin.Authentication.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)

2014-09-15 21:16:27,679 [s17039828][Thread:11][ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.

   at DotNetNuke.Security.Membership.AspNetMembershipProvider.UserLogin(Int32 portalId, String username, String password, String authType, String verificationCode, UserLoginStatus& loginStatus)

   at DotNetNuke.Entities.Users.UserController.ValidateUser(Int32 portalId, String username, String password, String authType, String verificationCode, String portalName, String ip, UserLoginStatus& loginStatus)

   at DotNetNuke.Modules.Admin.Authentication.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)

   --- End of inner exception stack trace ---

 
New Post
9/16/2014 11:15 AM
 
do you mean you can't use the host account or all accounts cause the problem with windows live writer?

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Can't login with host account - A critical error has occurred. An unexpected error has occurred Can't login with host account - A critical error has occurred. An unexpected error has occurred


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