I have installed PostgreSQL 9.4 with Postgis 2.2.3 on a Windows Server 2012 R2. I've then created a database using the tool Create Enterprise Geodatabase from ArcMap. Everything seems to work fine. I can edit, create new features and so on...
Exept one thing! I can't label any layers with their geometry attributes, like the length of polyline feature or the area of a polygon feature. As soon as I move around in the map this message appears.
I can however see the length och area in the attribute table or by clicking the features with the informationtool. And if I try to use a label expression and verifies it everything seems OK in the dialog box.
I'm using ArcGIS Desktop 10.4.1 on the same server.
What am I doing wrong?
The database have the extension postgis installed.