Answering Yes gets me the following message:
Microsoft Dynamics NAV
The server "net.tcp://<host>:7046/<instance>/Service" is either unavailable or your connection has been lost. Do you want to attempt to reconnect?
Ja Nein
On the client, a NavConnectionLostException is logged in the event log.
Microsoft Dynamics NAV
The session could not be retrieved from the server. The application will close.
OK
Server instance: <instance>
Tenant ID:
User:
Type: System.InvalidOperationException
Message: There is an error in XML document (1, 4096).
StackTrace:
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at Microsoft.Dynamics.Nav.Types.Metadata.MetaPage.CreatePageDefinition(XmlSerializer pageDefinitionSerializer, XmlReader reader)
at Microsoft.Dynamics.Nav.Runtime.NCLMetaForm.LoadMetadata()
at Microsoft.Dynamics.Nav.Runtime.NCLMetaApplicationObject.Populate()
at Microsoft.Dynamics.Nav.Runtime.NCLMetadata.GetMetaApplicationObjectInternal(ApplicationObjectId appObjectId, Boolean requireCompiled, Boolean onlySearchCache, Int32 appGroupId)
at Microsoft.Dynamics.Nav.Runtime.NCLMetadata.GetMetaApplicationObject(ObjectType objectType, Int32 objectId, Int32 appGroupId, Boolean requireCompiled, Boolean onlySearchCache)
at Microsoft.Dynamics.Nav.Runtime.AssemblyGetter.InitializeStaticAssembly(ObjectType objectType)
at Microsoft.Dynamics.Nav.Runtime.AssemblyGetter.<CompileBusinessApplication>b__2(NavTenant tenant, NavSession session)
at Microsoft.Dynamics.Nav.Runtime.NavTenant.Microsoft.Dynamics.Nav.Runtime.ITenantSessionHandler.RunTenantActionInSystemSession(Action`2 action, Boolean throwExceptions)
at Microsoft.Dynamics.Nav.Runtime.AssemblyGetter.CompileBusinessApplication()
Source: System.Xml
HResult: -2146233079
Type: System.InvalidOperationException
Message: Instance validation error: 'Record' is not a valid value for DataType.
StackTrace:
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderPageDefinition.Read81_DataType(String s)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderPageDefinition.Read83_DataFieldDefinition(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderPageDefinition.Read94_PageDefinition(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderPageDefinition.Read95_PageDefinition()
Source: Microsoft.GeneratedCode
HResult: -2146233079
Answers
Btw. I was using NAV 2016 CU19
Yes, that's exactly what I did after I wrote this request for help. I trusted the compiler not complaining, paired with the severity of the fault, too much.