Hi,
Need help on this as I can't figure out what went wrong.
Details:
Whenever I logged into my site and got redirected after logging in successfully, I get an error
A critical error has occurred.
Object reference not set to an instance of an object.
I went to the event viewer to check the log and I got this:
AssemblyVersion: 5.1.4
PortalID: 0
PortalName: UFCW Local 75
UserID: -1
UserName:
ActiveTabID: 91
ActiveTabName: Login
RawURL: /Login/tabid/91/portalid/0/Default.aspx?returnurl=%2ftabid%2f18%2fportalid%2f0%2fDefault.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://localunionwebsite.com/Login/tabid/91/portalid/0/Default.aspx?returnurl=%2ftabid%2f18%2fportalid%2f0%2fDefault.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 GTB6 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 548abec0-fdfa-425d-9c8d-6d85d23b5294
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 eventArgument) at System.Web.UI.WebControls.Button.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 ---
Source:
Server Name: P3NW8SH055
Need help in pinpointing the issue.
Thanks a lot,
Ciel