Site no longer functioning


https://forum.kartris.com/Topic2019.aspx
Print Topic | Close Window

By mountier - Tue 7 May 2013
I was applying some final tweaks to get a site ready for launch using the new V2.0001 and I can't get into the site anymore, it's throwing up the error message and the logs have been updated.

I was trying to upload a file to the server before this issue occurred, nothing has changed on the site or the files so I don't know what could be the problem.

I have copied in the logs files below

-----------------------------------------------------------------------------
>> Version:2.0001
>> URL:http://www.practicaltacticalbags.co.uk/Admin/_Search.aspx?key=name&location=0
>> Page:
-----------------------------------------------------------------------------
>> 07/05/2013 11:30:08
>> 94.169.162.169
>> DESCRIPTION:
System.Web.HttpException (0x80004005): The state information is invalid for this page and might be corrupted. ---> System.Web.UI.ViewStateException: Invalid viewstate.
Client IP: 94.169.162.169
Port: 56328
Referer: http://www.practicaltacticalbags.co.uk/Admin/_Search.aspx?key=name&location=0
Path: /Admin/_Search.aspx
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
ViewState: 59MBuoTo68PN/+3EQcSfX/YtNeneiQjtLPZLfxCeDhT4wi91zt6qAGlcaawSgyNBx9cBDiQIJ2JqIOoxrb0SeQ/OmKSCaCo69z/cqXKqJdx9QOG+UWMO6399hIAlvS8eCmus8fSfSzP9U+Nt+aJm7Pvkk0E3Pq5pEeU/8gjWP+5+aCLtn0DWg+ZBkACVimdd7odvJVn0dzqxtNeQOZvXzQj/Lvd3tsqafwVtb8+E1EuqGMat
at System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError)
at System.Web.UI.ClientScriptManager.EnsureEventValidationFieldLoaded()
at System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument)
at System.Web.UI.WebControls.TextBox.LoadPostData(String postDataKey, NameValueCollection postCollection)
at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

==================================================

-----------------------------------------------------------------------------
>> Version:2.0001
>> URL:http://www.practicaltacticalbags.co.uk/Admin/_Search.aspx?key=name&location=0
>> Page:
-----------------------------------------------------------------------------
>> 07/05/2013 11:30:12
>> 94.169.162.169
>> DESCRIPTION:
System.Web.HttpException (0x80004005): The state information is invalid for this page and might be corrupted. ---> System.Web.UI.ViewStateException: Invalid viewstate.
Client IP: 94.169.162.169
Port: 56328
Referer: http://www.practicaltacticalbags.co.uk/Admin/_Search.aspx?key=name&location=0
Path: /Admin/_Search.aspx
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
ViewState: 59MBuoTo68PN/+3EQcSfX/YtNeneiQjtLPZLfxCeDhT4wi91zt6qAGlcaawSgyNBx9cBDiQIJ2JqIOoxrb0SeQ/OmKSCaCo69z/cqXKqJdx9QOG+UWMO6399hIAlvS8eCmus8fSfSzP9U+Nt+aJm7Pvkk0E3Pq5pEeU/8gjWP+5+aCLtn0DWg+ZBkACVimdd7odvJVn0dzqxtNeQOZvXzQj/Lvd3tsqafwVtb8+E1EuqGMat
at System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError)
at System.Web.UI.ClientScriptManager.EnsureEventValidationFieldLoaded()
at System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument)
at System.Web.UI.WebControls.TextBox.LoadPostData(String postDataKey, NameValueCollection postCollection)
at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

==================================================

-----------------------------------------------------------------------------
>> Version:2.0001
>> URL:http://www.practicaltacticalbags.co.uk/Admin/_Search.aspx?key=name&location=0
>> Page:
-----------------------------------------------------------------------------
>> 07/05/2013 11:30:14
>> 94.169.162.169
>> DESCRIPTION:
System.Web.HttpException (0x80004005): The state information is invalid for this page and might be corrupted. ---> System.Web.UI.ViewStateException: Invalid viewstate.
Client IP: 94.169.162.169
Port: 56328
Referer: http://www.practicaltacticalbags.co.uk/Admin/_Search.aspx?key=name&location=0
Path: /Admin/_Search.aspx
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
ViewState: 59MBuoTo68PN/+3EQcSfX/YtNeneiQjtLPZLfxCeDhT4wi91zt6qAGlcaawSgyNBx9cBDiQIJ2JqIOoxrb0SeQ/OmKSCaCo69z/cqXKqJdx9QOG+UWMO6399hIAlvS8eCmus8fSfSzP9U+Nt+aJm7Pvkk0E3Pq5pEeU/8gjWP+5+aCLtn0DWg+ZBkACVimdd7odvJVn0dzqxtNeQOZvXzQj/Lvd3tsqafwVtb8+E1EuqGMat
at System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError)
at System.Web.UI.ClientScriptManager.EnsureEventValidationFieldLoaded()
at System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument)
at System.Web.UI.WebControls.TextBox.LoadPostData(String postDataKey, NameValueCollection postCollection)
at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

==================================================

-----------------------------------------------------------------------------
>> Version:2.0001
>> URL:http://www.practicaltacticalbags.co.uk/Category.aspx?CategoryID=1&CPGR=0&PPGR=0&L=1
>> Page:
-----------------------------------------------------------------------------
>> 07/05/2013 12:24:51
>> 94.169.162.169
>> DESCRIPTION:
System.NullReferenceException: Object reference not set to an instance of an object.
at UserControls_Front_NavigationMenu.menFrontEnd_MenuItemDataBound(Object sender, MenuEventArgs e)
at System.Web.UI.WebControls.Menu.DataBindRecursive(MenuItem node, IHierarchicalEnumerable enumerable)
at System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item)
at System.Web.UI.WebControls.Menu.PerformDataBinding()
at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
at System.Web.UI.WebControls.Menu.EnsureDataBound()
at System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, Boolean registerScript)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.BasePartialCachingControl.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

==================================================

-----------------------------------------------------------------------------
>> Version:2.0001
>> URL:http://www.practicaltacticalbags.co.uk/Default.aspx
>> Page:
-----------------------------------------------------------------------------
>> 07/05/2013 12:24:55
>> 94.169.162.169
>> DESCRIPTION:
System.NullReferenceException: Object reference not set to an instance of an object.
at UserControls_Front_NavigationMenu.menFrontEnd_MenuItemDataBound(Object sender, MenuEventArgs e)
at System.Web.UI.WebControls.Menu.DataBindRecursive(MenuItem node, IHierarchicalEnumerable enumerable)
at System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item)
at System.Web.UI.WebControls.Menu.PerformDataBinding()
at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
at System.Web.UI.WebControls.Menu.EnsureDataBound()
at System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, Boolean registerScript)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.BasePartialCachingControl.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

==================================================

-----------------------------------------------------------------------------
>> Version:2.0001
>> URL:http://www.practicaltacticalbags.co.uk/Default.aspx
>> Page:
-----------------------------------------------------------------------------
>> 07/05/2013 12:25:03
>> 94.169.162.169
>> DESCRIPTION:
System.NullReferenceException: Object reference not set to an instance of an object.
at UserControls_Front_NavigationMenu.menFrontEnd_MenuItemDataBound(Object sender, MenuEventArgs e)
at System.Web.UI.WebControls.Menu.DataBindRecursive(MenuItem node, IHierarchicalEnumerable enumerable)
at System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item)
at System.Web.UI.WebControls.Menu.PerformDataBinding()
at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
at System.Web.UI.WebControls.Menu.EnsureDataBound()
at System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, Boolean registerScript)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.BasePartialCachingControl.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

==================================================

-----------------------------------------------------------------------------
>> Version:2.0001
>> URL:http://www.practicaltacticalbags.co.uk/Product.aspx?ProductID=22&CategoryID=1&L=1
>> Page:
-----------------------------------------------------------------------------
>> 07/05/2013 12:25:48
>> 94.169.162.169
>> DESCRIPTION:
System.NullReferenceException: Object reference not set to an instance of an object.
at UserControls_Front_NavigationMenu.menFrontEnd_MenuItemDataBound(Object sender, MenuEventArgs e)
at System.Web.UI.WebControls.Menu.DataBindRecursive(MenuItem node, IHierarchicalEnumerable enumerable)
at System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item)
at System.Web.UI.WebControls.Menu.PerformDataBinding()
at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
at System.Web.UI.WebControls.Menu.EnsureDataBound()
at System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, Boolean registerScript)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.BasePartialCachingControl.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

==================================================

-----------------------------------------------------------------------------
>> Version:2.0001
>> URL:http://www.practicaltacticalbags.co.uk/Default.aspx
>> Page:
-----------------------------------------------------------------------------
>> 07/05/2013 12:28:20
>> 94.169.162.169
>> DESCRIPTION:
System.NullReferenceException: Object reference not set to an instance of an object.
at UserControls_Front_NavigationMenu.menFrontEnd_MenuItemDataBound(Object sender, MenuEventArgs e)
at System.Web.UI.WebControls.Menu.DataBindRecursive(MenuItem node, IHierarchicalEnumerable enumerable)
at System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item)
at System.Web.UI.WebControls.Menu.PerformDataBinding()
at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
at System.Web.UI.WebControls.Menu.EnsureDataBound()
at System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, Boolean registerScript)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.BasePartialCachingControl.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

==================================================

-----------------------------------------------------------------------------
>> Version:2.0001
>> URL:http://www.practicaltacticalbags.co.uk/Default.aspx
>> Page:
-----------------------------------------------------------------------------
>> 07/05/2013 13:15:54
>> 94.169.162.169
>> DESCRIPTION:
System.NullReferenceException: Object reference not set to an instance of an object.
at UserControls_Front_NavigationMenu.menFrontEnd_MenuItemDataBound(Object sender, MenuEventArgs e)
at System.Web.UI.WebControls.Menu.DataBindRecursive(MenuItem node, IHierarchicalEnumerable enumerable)
at System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item)
at System.Web.UI.WebControls.Menu.PerformDataBinding()
at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
at System.Web.UI.WebControls.Menu.EnsureDataBound()
at System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, Boolean registerScript)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.BasePartialCachingControl.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

==================================================
By Paul - Tue 7 May 2013
Those errors look like the kind of thing that happens if the db connection drops out. The login page is visible for me now... is it working your side at the moment?
By Paul - Tue 7 May 2013
Actually can see the error on the front end now. Assuming you've tried recycling the app pool, it could be that one of the files somewhere didn't FTP up completely.
By mountier - Tue 7 May 2013
Thanks for the quick replies. Nothing was actually ftp'd up though, that's the issue, the site was working fine and I was about to upload an image but needed to check the folder location of an existing one and that's where it all started going wrong.

Will see if we can recycle the App Pool
By mountier - Tue 7 May 2013
Have recycled the App Pool but no joy I'm afraid.

Here is the latest error log when trying to visit the site.

-----------------------------------------------------------------------------
>> Version:2.0001
>> URL:http://www.practicaltacticalbags.co.uk/Default.aspx
>> Page:
-----------------------------------------------------------------------------
>> 07/05/2013 14:54:27
>> 94.169.162.169
>> DESCRIPTION:
System.NullReferenceException: Object reference not set to an instance of anobject.
atUserControls_Front_NavigationMenu.menFrontEnd_MenuItemDataBound(Object sender,MenuEventArgs e)
at System.Web.UI.WebControls.Menu.DataBindRecursive(MenuItem node,IHierarchicalEnumerable enumerable)
at System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item)
at System.Web.UI.WebControls.Menu.PerformDataBinding()
atSystem.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect()
atSystem.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
at System.Web.UI.WebControls.Menu.EnsureDataBound()
at System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, BooleanregisterScript)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.BasePartialCachingControl.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,Boolean includeStagesAfterAsyncPoint)

By mountier - Tue 7 May 2013
Also, just wanted to add that we're running v2.0001 at the moment, when we did the last upgrade it wiped some of the data so am a little hesitant to do an update at this moment.
By Paul - Tue 7 May 2013
From the error, the issue looks like it is in the front end navigation menu.

This is built up based on the contents of the web_menu.sitemap file in the root of the web.

Check that your live database has any language strings used in your web_menu.sitemap file. Once you add them, you will need to refresh caches (refresh button by category menu in back end) and possibly trigger a restart/recycle.
By mountier - Tue 7 May 2013
I'm not sure I fully follow, sorry.

When you say;

"Check that your live database has any language strings used in your web_menu.sitemap file. Once you add them, you will need to refresh caches (refresh button by category menu in back end) and possibly trigger a restart/recycle."

What exactly am I looking for? I have the web_menu.sitemap file but I don't need to add anything in here do I?

Also, when you say to check that the live database has any language strings again, I'm not sure what I'm looking for, sorry
By mountier - Tue 7 May 2013
UPDATE!

It is now working again. I remember that the knowledgebase option was turned off as the client doesn't want this. I went back into the admin section, reassigned this to be 'y' and the site is now working again.

Perhaps the sitemap was looking for this to be active but couldn't so it broke, is that a possibility?
By mountier - Wed 8 May 2013
Ok, there is definitely a problem with turning off the knowledgebase option from the backend. I tried this again just now and straight away the site threw up the error message as before. When I turned the knowledgebase back on again it is all working fine.

Obviously a bug somewhere but worth noting I would think
By kalkhovm - Wed 8 May 2013
I had this same issue. Solved it by going into the web_menu.sitemap file and deleting the line that starts
<siteMapNode url="~/knowledgebase.aspx"
By Paul - Wed 8 May 2013
We fixed this in the latest changeset. The issue is that there is code in the navigation menu that tries to remove menu entries for features that are disabled. At the time this was written, the entries were in the 2nd level of a menu, as the skin had a dropdown system. But in the newer default skin, these are now top level links in a simpler menu. The code therefore failed because it was looking for child items.

The fix puts in some try/catch statements to avoid errors, and also tries code to remove the link at both the top level and second level.