Copied to clipboard

Flag this post as spam?

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


  • Moran 285 posts 934 karma points
    Jul 02, 2013 @ 20:03
    Moran
    0

    Umbraco blog issue after upgrading from 4.9 to 4.11.8

    I am haveing issue creating a blog doctype in my contect after the upgrade. I am getting 

    Object reference not set to an instance of an object.

    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.NullReferenceException: Object reference not set to an instance of an object.

    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: 




    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco
    .cms.businesslogic.property.Property.MakeNew(PropertyType pt, Content c, Guid versionId) +324
       umbraco
    .cms.businesslogic.Content.createNewVersion(DateTime versionDate) +632
       umbraco
    .cms.businesslogic.Content.CreateContent(ContentType ct) +217
       umbraco
    .cms.businesslogic.web.Document.MakeNew(String Name, DocumentType dct, User u, Int32 ParentId) +380
       umbraco
    .contentTasks.Save() +113
       umbraco
    .presentation.create.dialogHandler_temp.Create(String NodeType, Int32 TypeId, Int32 NodeId, String Text) +371
       umbraco
    .cms.presentation.create.controls.content.doCreation() +160
       umbraco
    .cms.presentation.create.controls.content.sbmt_Click(Object sender, EventArgs e) +5
       
    System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9552602
       
    System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +103
       
    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
       
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724



    I have updated two file in the config folder: xsltExtensions.config and restExtensions.config but it's still doen't work.

  • Moran 285 posts 934 karma points
    Jul 03, 2013 @ 07:34
    Moran
    0

    When I try to delete the "Blog" document type I get the following message:

     

  • Moran 285 posts 934 karma points
    Jul 04, 2013 @ 15:32
    Moran
    0

    Any Idea? do I need to change something in the DB tables?

  • Moran 285 posts 934 karma points
    Jul 08, 2013 @ 20:50
    Moran
    0

    this is what I got in the log file:

    System.Data.SqlClient.SqlException (0x80131904): The DELETE statement conflicted with the REFERENCE constraint "FK_cmsPropertyData_cmsPropertyType". The conflict occurred in database "activenetupgrade", table "dbo.cmsPropertyData", column 'propertytypeid'.

    Any ideas?

  • Moran 285 posts 934 karma points
    Jul 09, 2013 @ 07:16
    Moran
    0

    Thanks to this forum post and this blog post, I have finally foun and fixed the issue :)

    I needed to add a cascade rule for the:

    FK_cmsPropertyData_cmsPropertyType

    and that did the trick

  • Moran 285 posts 934 karma points
    Jul 09, 2013 @ 08:41
    Moran
    100

    Found out that I can't create a Blog document type beacuse I was missing a "userpicker" after I added the uComponents package and changed the  data type I was finally able to create a blog.

     

Please Sign in or register to post replies

Write your reply to:

Draft