Copied to clipboard

Flag this post as spam?

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


  • Arun 141 posts 404 karma points
    Dec 13, 2021 @ 14:02
    Arun
    0

    Error in accessing some nodes in Umbraco

    I'm having a strange issue with accessing some particular nodes in Umbraco,
    Yet I was able to copy the node and the copied node is accessible.
    The children's of that nodes are also accessible.
    When I click those nodes I'm getting an error message like
    Server error: Contact administrator, see log for full details. Failed to retrieve data for content id 1234
    Is there anyone who knows how to solve this?

  • Corné Hoskam 81 posts 588 karma points MVP 3x c-trib
    Dec 13, 2021 @ 17:09
    Corné Hoskam
    0

    Hi Arun,

    As the server error would suggest there is more to the error log than that you have currently provided, could you take a look and share the full log, if available? Perhaps that'll shine some more light on the issue at hand! đŸ™‚

    Kind regards,

    Corné

  • Arun 141 posts 404 karma points
    Dec 14, 2021 @ 07:35
    Arun
    0

    Hi Corné Hoskam,
    Thanks for the reply :)
    I'm getting an error like this
    enter image description here

  • Corné Hoskam 81 posts 588 karma points MVP 3x c-trib
    Dec 14, 2021 @ 08:15
    Corné Hoskam
    1

    Hi Arun,

    It would appear as though the account that originally created the items is no longer available in Umbraco, and therefor it couldn't properly copy the node(s) when setting the Owner of the item(s)! Can you confirm that this is the case?

  • Arun 141 posts 404 karma points
    Dec 16, 2021 @ 07:00
    Arun
    100

    Hi Corné Hoskam
    Thanks and Yes :)
    Exactly that was the issue,
    I perform some query updates on database to overcome that

      update [cmsDocument]
      set documentUser = 0
      where documentUser = 5
    
      update [umbracoLog]
      set userId = 0
      where userId = 5
    
      update umbracoNode 
      set nodeUser = 0 
      where nodeUser = 5
    

    Where 5 is the id of the user who creates it.

    Now the issue is resolved, but don't know whether there are any better ways.

    Thankfully

Please Sign in or register to post replies

Write your reply to:

Draft