weird error adding page

lawrence whittemore asked on June 11, 2020 17:57

An error occurred when saving data:[DataConnection.HandleError]: Query: INSERT INTO EMHS_FridayReflectionItem ([Summary], [Title], [Date], [Image], [frdate], [Description] ) VALUES ( @Summary, @Title, @Date, @Image, @frdate, @Description); SELECT SCOPE_IDENTITY() AS [FridayReflectionItemID] : caused exception: Cannot insert the value NULL into column 'Date', table 'Kentico Intranet.dbo.EMHS_FridayReflectionItem'; column does not allow nulls. INSERT fails. The statement has been terminated.

It's in a old version of kentico, version 6 i think. happens when we try to add a new page.

Correct Answer

lawrence whittemore answered on June 11, 2020 18:35

nevermind. for what ever reason there was an extra date field in the database that wasn't showing in the document type.

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.