Copied to clipboard

Flag this post as spam?

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


  • Sa 118 posts 152 karma points
    Sep 19, 2009 @ 06:35
    Sa
    0

    Error

    Hi folks.,

    I am getting an error when trying to create a DocumentType

    or ContentType as like this.. How to rectify this?

     

    Server Error in '/' Application.


    No Contenttype with id: 1712

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentException: No Contenttype with id: 1712

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [ArgumentException: No Contenttype with id: 1712]
    umbraco.cms.businesslogic.ContentType.setupContentType() +369
    umbraco.cms.businesslogic.ContentType..ctor(Guid id) +45
    umbraco.cms.businesslogic.web.DocumentType..ctor(Guid id) +70
    umbraco.cms.businesslogic.web.DocumentType.GetAllAsList() +138
    umbraco.cms.presentation.create.controls.nodeType.Page_Load(Object sender, EventArgs e) +193
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +47
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061


  • Edward Dudley 80 posts 121 karma points
    Sep 22, 2009 @ 11:20
    Edward Dudley
    0

    I've had something similar when using custom data types. The problem was that the node ID of my custom data type had changed but the document type still referenced it.

    Could this be the same problem?

    I solved it by hacking around in the database to change the node ID referenced.

Please Sign in or register to post replies

Write your reply to:

Draft