Copied to clipboard

Flag this post as spam?

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


  • Sam 7 posts 97 karma points
    Apr 27, 2016 @ 09:45
    Sam
    0

    Error when publishing and saving.

    After transferring my local database/project to my live version, I started to recieve an error when trying to publish and save my content.

    Contact administrator, see log for full details. Undefined

    AppData/Logs:

     2016-04-27 02:39:08,874 [P37372/D15/T125] INFO  Umbraco.Core.Publishing.PublishingStrategy - Content 'LinoDB' with Id '1067' has been published.
     2016-04-27 02:39:08,936 [P37372/D15/T125] ERROR Umbraco.Core.Persistence.UmbracoDatabase - Database exception occurred
    System.Data.SqlClient.SqlException (0x80131904): Cannot insert the value NULL into column 'id', table 'LinoDB.dbo.umbracoLog'; column does not allow nulls. INSERT fails.
    

    The same error occurs for the table umbracoCacheInstruction.

    I'm not sure that it has something to do with permissions or like the Log shows something database-related.

    EDIT:

    Answer: http://stackoverflow.com/questions/36907464/umbraco-7-4-3-undefined-error-when-publishing/36908014?noredirect=1#comment61382066_36908014

  • Naveed Ali 161 posts 426 karma points
    Apr 28, 2016 @ 12:09
    Naveed Ali
    0

    The error is kind of telling you the problem.. in your database the 'id' is set to not allow 'nulls'.. you need to access your database and amend this.

    There is tons of information on Google how to set a field to allow nulls in SQL.

    Will take you two minutes tops

    Thanks

    Nav

  • 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