Copied to clipboard

Flag this post as spam?

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


  • Petr Snobelt 923 posts 1535 karma points
    Sep 15, 2009 @ 12:01
    Petr Snobelt
    0

    YOSD in v 3.0.5 after changing hosting

    Hello,

    client choose another hosting company, so I try move files over ftp and move db. But after succefull login, when I click some (not all) node error occured:

    Object reference not set to an instance of an object

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +54
       umbraco.controls.ContentControl..ctor(Content c, publishModes CanPublish, String Id) +715
       umbraco.cms.presentation.editContent.OnInit(EventArgs e) +354
       System.Web.UI.Control.InitRecursive(Control namingContainer) +333
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Bool

    And rigth click on node also don't work.

    When I try site localy and on original hosting it works fine and I can't find out what's wrong...

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Sep 15, 2009 @ 12:38
    Dirk De Grave
    0

    Petr,

    Probably already heard this one before, but check your permissions, ftp'ing causes all kinds of nasty side effects, and has probably ruined those settings. Re-applying your permission settings should do the trick

     

    Cheers,

    /Dirk

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Sep 15, 2009 @ 12:40
    Douglas Robar
    0

    I would guess this is a file permission issue on the new host.

    But, also, delete the /data/umbraco.config file. This will force umbraco to recreate it (which it will do automatically unless there's a file permission problem). Also, right-click on each of the top-most content nodes and select the 'publish' menu (be sure to also select the 'include children' box) and force umbraco to publish all the nodes. This may take a moment depending on the site's size.

    Let us know what you find out.

    cheers,
    doug.

  • Petr Snobelt 923 posts 1535 karma points
    Sep 15, 2009 @ 14:19
    Petr Snobelt
    0

    Permissions - new hosting has not any settings for this, but administrators wrote that write permissions are set for everything.

    I already delete umbraco.config and new was created successfully.

    I want try republish, but as I wrote, contextmenu dosn't work (similar to http://our.umbraco.org/forum/using/ui-questions/2066-missing-right-click-context-menu-in-content-tree- )

     

     

  • Petr Snobelt 923 posts 1535 karma points
    Sep 22, 2009 @ 09:51
    Petr Snobelt
    0

    I check permissions, app pool setings, trust level and try delete umbraco.config and files in systemUmbracoIndexDontDelete.

    Have anyone ANY idea?

  • Petr Snobelt 923 posts 1535 karma points
    Sep 22, 2009 @ 09:51
    Petr Snobelt
    0

    Oh I also looking into log table, but it doesn't helps me.

  • Petr Snobelt 923 posts 1535 karma points
    Sep 24, 2009 @ 02:11
    Petr Snobelt
    0

    I'm gooing into sources and after adding some more defensive exceptions I found out it's caused because in umbraco.cms.businesslogic.datatype.controls factory in Initialize method isn't filled using reflection, but I have no idea why. First I think it's because there is parent path statement ("/../bin") which maybe can be disabled on hosting. I try change it to point to right folder without using it, add check to folder exists and this check passed. But TypeResolver.GetAssignablesFromType<IDataType> still don't return nothing :-(

    Any idea which can cause it?

Please Sign in or register to post replies

Write your reply to:

Draft