Copied to clipboard

Flag this post as spam?

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


  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Dec 14, 2016 @ 20:53
    Alex Skrypnyk
    0

    Restoring content locally

    Hi Community,

    After cloning repo I tried to restore content and I got such error:

    Could not execute command: INSERT INTO cmsContent (contentType, nodeId) VALUES (@p0, @p1)
    System.Data.SqlServerCe.SqlCeException (0x80004005): The column cannot contain null values. [ Column name = contentType,Table name = cmsContent ]
       в System.Data.SqlServerCe.SqlCeCommand.ProcessResults(Int32 hr)
       в System.Data.SqlServerCe.SqlCeCommand.ExecuteCommandText(IntPtr& pCursor, Boolean& isBaseTableCursor)
       в System.Data.SqlServerCe.SqlCeCommand.ExecuteCommand(CommandBehavior behavior, String method, ResultSetOptions options)
       в System.Data.SqlServerCe.SqlCeCommand.ExecuteNonQuery()
       в NHibernate.AdoNet.AbstractBatcher.ExecuteNonQuery(IDbCommand cmd)
    

    Thanks,

    Alex

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Dec 14, 2016 @ 20:58
    Alex Skrypnyk
    100

    Solved, just had another commit in the repo with changes to doctypes, so files were not latest.

    Thanks,

    Alex

Please Sign in or register to post replies

Write your reply to:

Draft