Copied to clipboard

Flag this post as spam?

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


  • Kenneth Voss 6 posts 55 karma points
    Oct 03, 2014 @ 14:22
    Kenneth Voss
    0

    Error in backend after deleting doctypes

    I've deleted a doctype in umbraco 7.1.4 and now I cannot get content in tree- I get this error msg Server error: Contact administrator, see log for full details.Failed to retrieve data for application tree content


    )]}',
    {"Message":"An error has occurred.","ExceptionMessage":"Value cannot be null.\r\nParameter name: contentType","ExceptionType":"System.ArgumentNullException","StackTrace":"   at Umbraco.Core.Mandate.That[TException](Boolean condition, Func`1 defer)\r\n   at Umbraco.Core.Models.ContentBase..ctor(String name, Int32 parentId, IContentTypeComposition contentType, PropertyCollection properties)\r\n   at Umbraco.Core.Models.Content..ctor(String name, Int32 parentId, IContentType contentType, PropertyCollection properties)\r\n   at Umbraco.Core.Models.Content..ctor(String name, Int32 parentId, IContentType contentType)\r\n   at Umbraco.Core.Persistence.Factories.ContentFactory.BuildEntity(DocumentDto dto)\r\n   at Umbraco.Core.Persistence.Repositories.ContentRepository.CreateContentFromDto(DocumentDto dto, Guid versionId)\r\n   at Umbraco.Core.Persistence.Repositories.ContentRepository.PerformGet(Int32 id)\r\n   at Umbraco.Core.Persistence.Repositories.RepositoryBase`2.Get(TId id)\r\n   at Umbraco.Core.Persistence.Repositories.ContentRepository.d__24.MoveNext()\r\n   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()\r\n   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)\r\n   at Umbraco.Web.Trees.ContentTreeControllerBase.GetTreeNodes(String id, FormDataCollection queryStrings)\r\n   at Umbraco.Web.Trees.TreeControllerBase.GetNodes(String id, FormDataCollection queryStrings)\r\n   at Umbraco.Web.Trees.ApplicationTreeExtensions.TryLoadFromControllerTree(ApplicationTree appTree, String id, FormDataCollection formCollection, HttpControllerContext controllerContext)\r\n   at Umbraco.Web.Trees.ApplicationTreeController.d__17.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   at Umbraco.Web.Trees.ApplicationTreeController.d__4.MoveNext()"}
  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Oct 12, 2014 @ 16:33
    Jan Skovgaard
    0

    Hi Kenneth and welcome to our :)

    Did you manage to figure out a solution for this issue?

    /Jan

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Oct 13, 2014 @ 12:40
    Jeroen Breuer
    0

    Hello,

    I know that in Umbraco 7.1.5 or 7.1.6 something was fixed with deleting doc types. So try upgrading to the latest version to see if you still have the error.

    Jeroen

  • Kenneth Voss 6 posts 55 karma points
    Oct 14, 2014 @ 08:38
    Kenneth Voss
    0

    Hey Jan/ Jeroen

     

    Thanks- yes I deleted the last doctypes in db amd everything worked fine again. I think the problem was that I deleted a doctype with at parent doctype so the refrence was never deleted in db. 

     

    I will look into updating in near future :)

     

    - Kenneth

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies