Error Creating New Page

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
8/18/2014 12:37:09 PM
Gravatar
Total Posts 1

Error Creating New Page

Operating System: Microsoft Windows NT 9.1.7601 Service Pack 1

mojoPortal Version: 2.3.9.9 MSSQL

.NET Version: v4.0.30319 Running in Full Trust

Issue:

Attempting to create any page, regardless of settings, produces the following error:

[SqlException (0x80131904): Cannot insert the value NULL into column 'ShowPageHeading', table 'OAS-CMS.dbo.mp_Pages'; column does not allow nulls. INSERT fails. The statement has been terminated.
 

I haven't found any solutions online yet

8/18/2014 12:53:35 PM
Gravatar
Total Posts 18439

Re: Error Creating New Page

seems like your mp_Pages table is missing the default value of 1 on the column ShowPageHeading.

I have no idea how it got that way but I suggest go into design view of the table in sql management tools and add a default value of 1 on that column.

You must sign in to post in the forums. This thread is closed to new posts.