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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Object reference not set to an instance of an objectObject reference not set to an instance of an object
Previous
 
Next
New Post
12/9/2009 2:47 AM
 

I'm getting a Critical Error every time anyone logs in to my site after upgrading to 5.2 DNN. Bellow is the log for this error. How can I fix this? Any help would be great.

 

AssemblyVersion: 5.2.0
PortalID: 4
PortalName: Phantom Soccer
UserID: -1
UserName:
ActiveTabID: 99
ActiveTabName: Home
RawURL: /Home/tabid/99/ctl/Login/Default.aspx?returnurl=%2fHome%2ftabid%2f99%2fDefault.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.phantomsoccer.com/Home/tabid/99/ctl/Login/Default.aspx?returnurl=%2fHome%2ftabid%2f99%2fDefault.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 3.0.30618; .NET CLR 3.5.21022; InfoPath.2; Media Center PC 5.0; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; SLCC1)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: c16a2d7b-b1ef-4746-9e61-ea8dcb0d569f
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Common.Utilities.XmlUtils.GetAttributeValueAsInteger
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.Common.Utilities.XmlUtils.GetAttributeValueAsInteger(XPathNavigator nav, String AttributeName, Int32 DefaultValue) at DotNetNuke.Common.Utilities.Config.GetPersistentCookieTimeout() at DotNetNuke.Entities.Users.UserController.UserLogin(Int32 portalId, UserInfo user, String PortalName, String IP, Boolean CreatePersistentCookie) at DotNetNuke.Modules.Admin.Authentication.Login.ValidateUser(UserInfo objUser, Boolean ignoreExpiring) at DotNetNuke.Modules.Admin.Authentication.Login.UserAuthenticated(Object sender, UserAuthenticatedEventArgs e) at DotNetNuke.Services.Authentication.AuthenticationLoginBase.OnUserAuthenticated(UserAuthenticatedEventArgs ea) at DotNetNuke.Modules.Admin.Authentication.Login.cmdLogin_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String EVENT_ARGUMENT) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String EVENT_ARGUMENT) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String EVENT_ARGUMENT) 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
12/9/2009 4:14 AM
 

during login the persistent cookie cannot be set. check previous/subsequent entries in the log, which user was trying to login.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/9/2009 6:30 PM
 

Sebastian thanks for the quick response.

The user was the "superuser" account. It does this with every account login with all the portals I have in this DNN. This began to happen after I upgraded to 5.2 . During the upgrade I did have a problem and the site wouldn't show any content under HTML/Text module. The solution I found online was to remove the "HTML" folder under App_Code/. The site worked fine but now I'm getting these login errors.

 
New Post
1/4/2010 4:42 PM
 


Did you resolve the problem? I have exactly the same issue.

 
 
New Post
1/4/2010 5:53 PM
 

try to restart application, e.g. by re-saving web.config file.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Object reference not set to an instance of an objectObject reference not set to an instance of an object


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