ERROR 001272: Analyzer errors were encountered (codes =7)

created at 11-24-2021 views: 9

error

When using ArcMap to publish services to ArcGIS server, an error may be reported, Error 001272, especially when the mxd generated by a different version of ArcMap is copied to another version of ArcMap for publishing, the minor version is also considered a version.

Which may also be related to the definition query in the layer. When searching online, most of them say that the connection to the spatial database does not support the definition query. But it's not necessarily true.

solution

Just use the current ArcMap to save an mxd and open the new mxd to publish it.

Mine is solved like this.

created at:11-24-2021
edited at: 11-24-2021: