Copied to clipboard

Flag this post as spam?

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


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

    could not be resolved to a .Net object type

    After upgrading to Umbraco 6.2.5 I am getting this error in my log file. I uninstalled and reinstalled Robots.text Editor and same error.

    2016-02-01 14:45:17,797 [9] WARN  umbraco.BusinessLogic.ApplicationTree - [Thread 23] The tree definition: <add silent="false" initialize="true" sortOrder="6" alias="robotsTxt" application="developer" title="Robots.txt" iconClosed="../../robots-txt/robot.png" iconOpen="../../robots-txt/robot.png" assembly="Our.Umbraco.Tree.RobotsTxt" type="RobotsTxtTree" action="" /> could not be resolved to a .Net object type
    
  • Lee Kelleher 4020 posts 15796 karma points MVP 13x admin c-trib
    Feb 02, 2016 @ 10:54
    Lee Kelleher
    0

    Hi Connie,

    I'll give it a try on a fresh v6.2.5 install, (I haven't used v6 in a couple of years - eek).

    I'll let you know what I find.

    Cheers,
    - Lee

  • Lee Kelleher 4020 posts 15796 karma points MVP 13x admin c-trib
    Feb 02, 2016 @ 11:34
    Lee Kelleher
    100

    Hi Connie,

    OK, I can reproduce the problem! :-)

    When the package is installed, the tree definition is added to the "trees.config" file. But in v6.2.5 the format is invalid.

    Try manually changing the entry in "trees.config" to this...

    <add silent="false" initialize="true" sortOrder="6" alias="robotsTxt" application="developer" title="Robots.txt" iconClosed="../../robots-txt/robot.png" iconOpen="../../robots-txt/robot.png" type="Our.Umbraco.Tree.RobotsTxt.RobotsTxtTree, Our.Umbraco.Tree.RobotsTxt" action="" />
    

    The differences are:

    • Removing the assembly attribute
    • Changing the type attribute to be fully qualified (e.g. "Our.Umbraco.Tree.RobotsTxt.RobotsTxtTree, Our.Umbraco.Tree.RobotsTxt")

    I hope this helps.


    I'll flag up an issue on my GitHub repo to remind me to look at this at some point, (sorry, this package isn't high on my to-do list any more).

    Update: Added GitHub issue: https://github.com/leekelleher/umbraco-robotstxt-editor/issues/2

    It's strange that no one else has raised this issue - as Robots.txt Editor v3.0 was released 4.5 years ago and Umbraco v6.2.5 was released 12 months ago. (Guess no one else is using that combination?)

    Cheers,
    - Lee

  • Connie DeCinko 931 posts 1160 karma points
    Feb 02, 2016 @ 15:00
    Connie DeCinko
    0

    Thanks Lee! That was it. I tried some variations but just did not have the correct values.

  • Lee Kelleher 4020 posts 15796 karma points MVP 13x admin c-trib
    Feb 02, 2016 @ 15:01
    Lee Kelleher
    0

    Cool, glad it worked! (I tried several variations too!) :-)

    Cheers,
    - Lee

Please Sign in or register to post replies

Write your reply to:

Draft