I was upgrading a database from NAV 5.0 SP1 to NAV 2013 R2.
I’ve used the Form Transformation Tool to converted forms into pages.
When executing a page with a subpage, I got the following error:
Error: Server page is already open..
After hitting my head against the wall, I’ve discovered the problem. The subpage must be defined as ListCard instead of Card, in PageType property.
I took me some time to discover this because I could compile the main page without problems.
I got an error only after duplicating the subpage part like this.
And here’s the error I got:
Microsoft Dynamics NAV
———
Part controls with PartType ‘Page’ must refer to pages of type ‘CardPart’ or ‘ListPart’.
———
OK
———
The previous part should be somehow cached and the error wasn’t showed when compiling