Copied to clipboard

Flag this post as spam?

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


  • Gal Nitzan 50 posts 164 karma points
    Jul 25, 2010 @ 13:43
    Gal Nitzan
    0

    Media tree is empty after upgrade to 4.5

    Sorry for the second post, but I was unable to delete or edit the previous one.

    Just finished upgrading to V4.5. All seems to go as expected but I the Media tree is empty.

    I have verified the correct permissions on wwwroot folder to Network Service and all files under media seems to have the correct permissions as well.

    Any help would be appreciated.

    Gal

  • Gal Nitzan 50 posts 164 karma points
    Jul 25, 2010 @ 14:04
    Gal Nitzan
    0

    I looked at the event viewer and found the following error:

    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 25/07/2010 15:01:46
    Event time (UTC): 25/07/2010 12:01:46
    Event ID: 46a248399708460c8c4d8698d1c444f7
    Event sequence: 87
    Event occurrence: 1
    Event detail code: 0
     
    Application information:
        Application domain: /LM/W3SVC/1/ROOT-3-129245328592489466
        Trust level: Full
        Application Virtual Path: /
        Application Path: C:\inetpub\wwwroot\
        Machine name: INTER1
     
    Process information:
        Process ID: 7848
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
     
    Exception information:
        Exception type: NullReferenceException
        Exception message: Object reference not set to an instance of an object.
       at umbraco.cms.presentation.Trees.MediaRecycleBin.CreateRootNode(XmlTreeNode& rootNode)
       at umbraco.cms.presentation.Trees.BaseTree.CreateRootNode()
       at umbraco.cms.presentation.Trees.BaseTree.Initialize()
       at umbraco.cms.presentation.Trees.BaseTree.get_RootNode()
       at umbraco.loadMedia.CreateRecycleBin()
       at umbraco.loadMedia.Render(XmlTree& tree)
       at umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams)
       at umbraco.presentation.webservices.TreeDataService.GetXmlTree()
       at umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

     
     
    Request information:
        Request URL: http://172.30.1.13:9595/umbraco/webservices/TreeDataService.ashx?rnd=08c276e6aa4743999ccb4a22b72c08ab&id=-1&treeType=media&contextMenu=true&isDialog=false&rnd2=39.3
        Request path: /umbraco/webservices/TreeDataService.ashx
        User host address: 172.30.1.13
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: NT AUTHORITY\NETWORK SERVICE
     
    Thread information:
        Thread ID: 15
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at umbraco.cms.presentation.Trees.MediaRecycleBin.CreateRootNode(XmlTreeNode& rootNode)
       at umbraco.cms.presentation.Trees.BaseTree.CreateRootNode()
       at umbraco.cms.presentation.Trees.BaseTree.Initialize()
       at umbraco.cms.presentation.Trees.BaseTree.get_RootNode()
       at umbraco.loadMedia.CreateRecycleBin()
       at umbraco.loadMedia.Render(XmlTree& tree)
       at umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams)
       at umbraco.presentation.webservices.TreeDataService.GetXmlTree()
       at umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
     
     
    Custom event details:

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jul 26, 2010 @ 00:31
    Aaron Powell
    0

    What database are you running? The problem is that the media recycling bin hasn't been added into the database. Check the database, it should be in the umbracoNode table with an ID of -22

  • Gal Nitzan 50 posts 164 karma points
    Jul 26, 2010 @ 12:44
    Gal Nitzan
    0

    Hi slace,

    Thank you for your reply.

    I work with MySQL 5.1 and indeed I looked at the umbracoNode table and ofcourse id -22 is missing.

    Is there any way I can insert it manually?

    Could you paste here the required values please?

    Regards,

    Gal.

     

     

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jul 26, 2010 @ 13:39
    Aaron Powell
    0

    Sorry, it's -21 (looking into the SQL scripts). I know there were some problems/ missing parts of the MySQL script for 4.5.0 which have been rectified in 4.5.1, so I'd suggest trying that upgrade.

  • Gal Nitzan 50 posts 164 karma points
    Jul 27, 2010 @ 05:23
    Gal Nitzan
    0

    Just updated to V4.5.1 and I have the same problem media tree is empty and an exception in the logs.

    Exception type: NullReferenceException
        Exception message: Object reference not set to an instance of an object.
       at umbraco.cms.presentation.Trees.MediaRecycleBin.CreateRootNode(XmlTreeNode& rootNode)
       at umbraco.cms.presentation.Trees.BaseTree.CreateRootNode()
       at umbraco.cms.presentation.Trees.BaseTree.Initialize()
       at umbraco.cms.presentation.Trees.BaseTree.get_RootNode()
       at umbraco.loadMedia.CreateRecycleBin()
       at umbraco.loadMedia.Render(XmlTree& tree)
       at umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams)
       at umbraco.presentation.webservices.TreeDataService.GetXmlTree()
       at umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Looked at umbracoNode and there is a record with nodeobjecttype = 'Recycle Bin' and id='-20'

    Gal

Please Sign in or register to post replies

Write your reply to:

Draft