Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gijs 38 posts 133 karma points
    Mar 25, 2015 @ 18:15
    Gijs
    0

    Newsletter content tree fails to load

    The Tracelog says:

    2015-03-25 13:43:01,812 [7] WARN  umbraco.BusinessLogic.ApplicationTree - [Thread 12] The tree definition: <add silent="false" initialize="true" sortOrder="1" alias="newsletterstudio_letter" application="newsletterstudio" title="Newsletters" iconClosed="folder_table.png" iconOpen="folder_table.png" assembly="NewsletterStudio" type="Umbraco.loadNewsletters" action="" /> could not be resolved to a .Net object type
    

    (I t does so for all three aprts of the content tree, but I included only one for brevity)

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 25, 2015 @ 19:38
    Jan Skovgaard
    0

    Hi Gijs

    What version of Umbraco have you been installing this package on?

    /Jan

  • Gijs 38 posts 133 karma points
    Mar 25, 2015 @ 20:24
    Gijs
    0

    Sorry, forgot to mention that: 6.2.5

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 25, 2015 @ 20:26
    Jan Skovgaard
    0

    Hi Gijs

    Ok, that's a bit weird - What does your /config/trees.config file look like? Could you paste it in here please?

    /Jan

  • Gijs 38 posts 133 karma points
    Mar 25, 2015 @ 20:52
    Gijs
    0
    <?xml version="1.0" encoding="utf-8"?>
    <trees>
      <!--Content-->
      <add application="content" alias="content" title="Content" type="umbraco.loadContent, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" silent="true" sortOrder="0" />
      <add application="content" alias="contentRecycleBin" title="RecycleBin" type="umbraco.cms.presentation.Trees.ContentRecycleBin, umbraco" iconClosed="folder.gif" iconOpen="folder_o.gif" initialize="false" sortOrder="0" />
      <!--Media-->
      <add application="media" alias="media" title="Media" type="umbraco.loadMedia, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="0" />
      <add application="media" alias="mediaRecycleBin" title="RecycleBin" type="umbraco.cms.presentation.Trees.MediaRecycleBin, umbraco" iconClosed="folder.gif" iconOpen="folder_o.gif" initialize="false" sortOrder="0" />
      <!--Settings-->
      <add application="settings" alias="stylesheets" title="Stylesheets" type="umbraco.loadStylesheets, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="0" />
      <add application="settings" alias="stylesheetProperty" title="Stylesheet Property" type="umbraco.loadStylesheetProperty, umbraco" iconClosed="" iconOpen="" initialize="false" sortOrder="0" />
      <add application="settings" alias="templates" title="Templates" type="umbraco.loadTemplates, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="1" />
      <add application="settings" alias="partialViews" title="Partial Views" silent="false" initialize="true" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" type="Umbraco.Web.Trees.PartialViewsTree, umbraco" sortOrder="2" />
      <add application="settings" alias="scripts" title="Scripts" type="umbraco.loadScripts, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="3" />
      <add application="settings" alias="dictionary" title="Dictionary" type="umbraco.loadDictionary, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" action="openDictionary()" sortOrder="4" />
      <add application="settings" alias="languages" title="Languages" type="umbraco.loadLanguages, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="5" />
      <add application="settings" alias="mediaTypes" title="Media Types" type="umbraco.loadMediaTypes, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="6" />
      <add application="settings" alias="nodeTypes" title="Document Types" type="umbraco.loadNodeTypes, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="7" />
      <!--Developer-->
      <add application="developer" alias="datatype" title="Data Types" type="umbraco.loadDataTypes, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="1" />
      <add application="developer" alias="macros" title="Macros" type="umbraco.loadMacros, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="2" />
      <add application="developer" alias="packager" title="Packages" type="umbraco.loadPackager, umbraco" iconClosed="folder.gif" iconOpen="folder_o.gif" sortOrder="3" />
      <add application="developer" alias="packagerPackages" title="Packager Packages" type="umbraco.loadPackages, umbraco" iconClosed="folder.gif" iconOpen="folder_o.gif" initialize="false" sortOrder="3" />
      <add application="developer" alias="relationTypes" title="Relation Types" type="umbraco.loadRelationTypes, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="4" />
      <add application="developer" alias="python" title="Scripting Files" type="umbraco.loadPython, umbraco" iconClosed="folder.gif" iconOpen="folder_o.gif" sortOrder="4" />
      <add application="developer" alias="xslt" title="XSLT Files" type="umbraco.loadXslt, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="5" />
      <add application="developer" alias="partialViewMacros" type="Umbraco.Web.Trees.PartialViewMacrosTree, umbraco" silent="false" initialize="true" sortOrder="6" title="Partial View Macro Files" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" />
      <!--Users-->
      <add application="users" alias="users" title="Users" type="umbraco.loadUsers, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="0" />
      <add application="users" alias="userTypes" title="User Types" type="umbraco.cms.presentation.Trees.UserTypes, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="1" />
      <add application="users" alias="userPermissions" title="User Permissions" type="umbraco.cms.presentation.Trees.UserPermissions, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="2" />
      <!--Members-->
      <add application="member" alias="member" title="Members" type="umbraco.loadMembers, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="0" />
      <add application="member" alias="memberGroup" title="Member Groups" type="umbraco.loadMemberGroups, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="1" />
      <add application="member" alias="memberType" title="Member Types" type="umbraco.loadMemberTypes, umbraco" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="2" />
      <!--Translation-->
      <add silent="false" initialize="true" sortOrder="1" alias="openTasks" application="translation" title="Tasks assigned to you" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" type="umbraco.loadOpenTasks, umbraco" action="" />
      <add silent="false" initialize="true" sortOrder="2" alias="yourTasks" application="translation" title="Tasks created by you" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" type="umbraco.loadYourTasks, umbraco" action="" />
      <!-- Custom -->
      <add silent="false" initialize="true" sortOrder="1" alias="newsletterstudio_letter" application="newsletterstudio" title="Newsletters" iconClosed="folder_table.png" iconOpen="folder_table.png" assembly="NewsletterStudio" type="Umbraco.loadNewsletters" action="" />
      <add silent="false" initialize="true" sortOrder="3" alias="newsletterstudio_settings" application="newsletterstudio" title="Settings" iconClosed="settingMasterDatatype.gif" iconOpen="settingMasterDatatype.gif" assembly="NewsletterStudio" type="Umbraco.loadSettings" action="" />
      <add silent="false" initialize="true" sortOrder="2" alias="newsletterstudio_subscriptions" application="newsletterstudio" title="Subscriptions" iconClosed="group.png" iconOpen="group.png" assembly="NewsletterStudio" type="Umbraco.loadSubscriptions" action="" />
      <add initialize="true" sortOrder="100" alias="FALMHousekeeping" application="developer" title="FALM Housekeeping" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder" type="FALMHousekeeping.loadHousekeeping, FALMHousekeeping" />
    </trees>
    
  • Markus Johansson 1938 posts 5866 karma points MVP 2x c-trib
    Mar 26, 2015 @ 09:07
    Markus Johansson
    0

    Hi!

    When did this error appear? Just after the install? Have it ever worked or did it just happen "suddenly"? Do you have the NewsletterStudio.dll file in your bin-directory?

    / m 

  • Gijs 38 posts 133 karma points
    Apr 03, 2015 @ 12:30
    Gijs
    0

    yes, it appeared after install. We have a copy of this website working on a different domain without problems. The NewsletterStudio.dll is present in the bin folder.

  • Markus Johansson 1938 posts 5866 karma points MVP 2x c-trib
    Apr 07, 2015 @ 11:01
    Markus Johansson
    0

    Is that an exact copy that works? The configuration looks fine, the error message says

    "The tree definition: <add silent="false" initialize="true" sortOrder="1" alias="newsletterstudio_letter" application="newsletterstudio" title="Newsletters" iconClosed="folder_table.png" iconOpen="folder_table.png" assembly="NewsletterStudio" type="Umbraco.loadNewsletters" action="" /> could not be resolved to a .Net object type"

    What version of Newsletter Studio did you install? What versin is the NewsletterStudio.dll-file? 

  • Markus Johansson 1938 posts 5866 karma points MVP 2x c-trib
    Apr 08, 2015 @ 23:39
    Markus Johansson
    100

    Hi again!

    Appears that the latest release of Umbraco 6 (6.2.5) have a breaking change in the way that the types in the application tree are resolved. I will address this in upcomming releases but to get the trees showing just change the lines to:

    <add silent="false" initialize="true" sortOrder="1" alias="newsletterstudio_letter" application="newsletterstudio" title="Newsletters" iconClosed="folder_table.png" iconOpen="folder_table.png" assembly="NewsletterStudio" type="NewsletterStudio.Umbraco.loadNewsletters, NewsletterStudio" action="" />

      <add silent="false" initialize="true" sortOrder="3" alias="newsletterstudio_settings" application="newsletterstudio" title="Settings" iconClosed="settingMasterDatatype.gif" iconOpen="settingMasterDatatype.gif" assembly="NewsletterStudio" type="NewsletterStudio.Umbraco.loadSettings, NewsletterStudio" action="" />

      <add silent="false" initialize="true" sortOrder="2" alias="newsletterstudio_subscriptions" application="newsletterstudio" title="Subscriptions" iconClosed="group.png" iconOpen="group.png" assembly="NewsletterStudio" type="NewsletterStudio.Umbraco.loadSubscriptions, NewsletterStudio" action="" /> 

  • Markus Johansson 1938 posts 5866 karma points MVP 2x c-trib
    Apr 09, 2015 @ 00:26
    Markus Johansson
    0

    Hi again!

    It relates to this breaking change: http://issues.umbraco.org/issue/U4-6509#tab=Comments ;

    I have posted an updated version of Newsletter Studio (v1.4.5.1) that will handle these differences beetween versions of Umbraco.

    Hope this helps =D

    Cheers! 

  • Connie DeCinko 931 posts 1160 karma points
    Feb 01, 2016 @ 21:11
    Connie DeCinko
    0

    Any idea if an update to 6.2.5 will be released to address this or are we left to hacking a solution?

  • Markus Johansson 1938 posts 5866 karma points MVP 2x c-trib
    Feb 08, 2016 @ 09:32
    Markus Johansson
    0

    I really don't know at the moment.

Please Sign in or register to post replies

Write your reply to:

Draft