Hi,
Using version 9.7.3, I have made a page item type which is meant to be created in the root of a page. However, when I try to create the page item, I get the following exception:
Server Error in '/' Application.
Parent page ID must be greater than 0, but it was 0
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.ArgumentException: Parent page ID must be greater than 0, but it was 0
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:
|
Creating normal blank pages in the root works as it is supposed to. The page item, which threw the exception above, can be created as a subpage to a blank page without throwing an exception.
The item definition is attached to this post.
My workaround for now is to create a blank page and then change the item type of the page to the desired item type.
Best regards,
Roald, Novicell