· Updated · Dynamics NAV/365 BC · 1 min read

Error: "Server page is already open.."

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:

Service Item Worksheet Subform error stating the server page is already open

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.

Subform page properties with PageType set to Card

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.

Page designer showing the subform control reference

And here’s the error I got:

NAV warning that page parts must reference CardPart or ListPart pages

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

Share:
Back to Blog