Upgrades Questions on upgrading to version 4.x.
Version 4.x > Upgrades > Problems after Upgrade View modes: 
User avatar
Member
Member
richard.boyd-swgfl.org - 2/9/2009 4:47:16 AM
   
Problems after Upgrade
Hi,

I've followed the upgrade process and am now having the following problems:

When I try to view the Properties > General for any page, I receive the following error:

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

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

Source Error:


Line 414:
Line 415: // Check ad-hoc forum counts
Line 416: hasAdHocForum = (ModuleCommands.ForumsGetDocumentForumsCount(node.DocumentID) > 0);
Line 417:
Line 418: // Ad-Hoc message boards check


Source File: d:\WWW\KenticoCMS\CMSDesk\Content\Properties\general.aspx.cs Line: 416

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
CMS.SettingsProvider.ModuleCommands.ForumsGetDocumentForumsCount(Int32 documentId) +101
CMSDesk_Content_Properties_general.ReloadData() in d:\WWW\KenticoCMS\CMSDesk\Content\Properties\general.aspx.cs:416
CMSDesk_Content_Properties_general.Page_Load(Object sender, EventArgs e) in d:\WWW\KenticoCMS\CMSDesk\Content\Properties\general.aspx.cs:114
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +99
CMS.UIControls.CMSPage.OnLoad(EventArgs e) +44
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434

Also, when viewing the Product tab for any page, I receive the following error:

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

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

Source Error:


Line 414:
Line 415: // Check ad-hoc forum counts
Line 416: hasAdHocForum = (ModuleCommands.ForumsGetDocumentForumsCount(node.DocumentID) > 0);
Line 417:
Line 418: // Ad-Hoc message boards check


Source File: d:\WWW\KenticoCMS\CMSDesk\Content\Properties\general.aspx.cs Line: 416

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
CMS.SettingsProvider.ModuleCommands.ForumsGetDocumentForumsCount(Int32 documentId) +101
CMSDesk_Content_Properties_general.ReloadData() in d:\WWW\KenticoCMS\CMSDesk\Content\Properties\general.aspx.cs:416
CMSDesk_Content_Properties_general.Page_Load(Object sender, EventArgs e) in d:\WWW\KenticoCMS\CMSDesk\Content\Properties\general.aspx.cs:114
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +99
CMS.UIControls.CMSPage.OnLoad(EventArgs e) +44
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434

Please help!

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/10/2009 6:06:53 AM
   
RE:Problems after Upgrade
Hi,

It seems that there is a bug in the upgrade. We are sorry for that. Here you can find the hotfix and just replace the DLL files with the new: http://www.kentico.com/Downloads/Updates/Update_31a_40_Hotfix_Bin_NET_3_5.zip

Best Regards,
Juraj Ondrus