Upgrades Questions on upgrading to version 7.x.
Version 7.x > Upgrades > GetFile problem View modes: 
User avatar
Member
Member
torsten.balslev-nilsongroup - 10/23/2013 9:06:49 AM
   
GetFile problem
Hello,

I have recently upgraded to 7.0 but now my content is messed up, text is ok but
all linked files is not working. I get the following error:
Line 1222:        {
Line 1223: // Load secured values
Line 1224: node.LoadInheritedValues(new string[] { "IsSecuredNode", "RequiresSSL" });
Line 1225: }
Line 1226: }

Stacktrace:
  CMS.SettingsProvider.DataClassInfo.LoadMappings() +168
CMS.Ecommerce.SKUTreeNode.GetMappedSKUColumn(String docColumn) +48
CMS.Ecommerce.SKUTreeNode.SetValue(String columnName, Object value) +95
CMS.DocumentEngine.TreeNode.LoadInheritedValues(String[] columns, Boolean allCultures) +324
CMS.DocumentEngine.TreeNode.LoadInheritedValues(String[] columns) +15
CMSPages_GetFile.EnsureSecuritySettings(TreeNode node) in c:\work\Nilsongroup\supplier.nilsongroup.com\supplier.nilsongroup.com\www\CMSPages\GetFile.aspx.cs:1224
CMSPages_GetFile.CacheNode(CachedSection`1 cs, TreeNode node) in c:\work\Nilsongroup\supplier.nilsongroup.com\supplier.nilsongroup.com\www\CMSPages\GetFile.aspx.cs:1239
CMSPages_GetFile.ProcessNode(Guid currentNodeGuid) in c:\work\Nilsongroup\supplier.nilsongroup.com\supplier.nilsongroup.com\www\CMSPages\GetFile.aspx.cs:965
CMSPages_GetFile.ProcessAttachment() in c:\work\Nilsongroup\supplier.nilsongroup.com\supplier.nilsongroup.com\www\CMSPages\GetFile.aspx.cs:529
CMSPages_GetFile.Page_Load(Object sender, EventArgs e) in c:\work\Nilsongroup\supplier.nilsongroup.com\supplier.nilsongroup.com\www\CMSPages\GetFile.aspx.cs:211
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
System.Web.UI.Control.OnLoad(EventArgs e) +92
CMS.UIControls.GetFilePage.OnLoad(EventArgs e) +32
System.Web.UI.Control.LoadRecursive() +54
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772

Any ideas, im lost.

Regards

User avatar
Member
Member
torsten.balslev-nilsongroup - 10/23/2013 9:15:56 AM
   
RE:GetFile problem
I can see all my files in {kentico root}/supplier and the connection between kentico and file in table CONTENT_File.

I don't know if this matters but I'm using a Free license and the site has over 500 users. I'm waiting on the licens right now.

User avatar
Member
Member
torsten.balslev-nilsongroup - 10/23/2013 9:22:47 AM
   
RE:GetFile problem
Also when I try to save a document i get the following error:
An error occurred when saving data:
Message: Object reference not set to an instance of an object.
Stack Trace:
at CMS.SettingsProvider.DataClassInfo.LoadMappings()
at CMS.Ecommerce.SKUTreeNode.GetMappedSKUColumn(String docColumn)
at CMS.Ecommerce.SKUTreeNode.SetValue(String columnName, Object value)
at CMS.UIControls.CMSAbstractEditablePage.DocumentManager_OnSaveData(Object sender, DocumentManagerEventArgs e)
at CMS.FormControls.CMSAbstractManager`2.RaiseSaveData(EventArgsType args)
at CMS.FormControls.CMSDocumentManager.SaveDocumentInternal(String actionContext)