Select to view content in your preferred language

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

35594
48
07-03-2012 07:23 AM
AlanToms
Regular Contributor
Hello folks,

When trying to publish a map service am I get the followin error, ERROR 001272: Analyzer errors were encountered (codes = 7).  I have been able to track the issue to the definition query.  If a layer's defintion query has SHAPE.STLength() or SHAPE.STArea() in the query it will throw the error, but those are valid queries created using the Query Builder.  I have been unable to find details about ERROR 001272.  Any suggestions for a soltion?

Thakn you
Alan
Tags (2)
0 Kudos
48 Replies
AledJones
Deactivated User
Hi,

Thanks for your reply. I couldn't find any reference to 'NIM082764' but I did find this one 'NIM083369' - I suppose the only possible solution is to duplicate the area fields?

Aled


For anyone stuck on this problem, duplicating the area field worked for me and I've been able to publish the service.
0 Kudos
KarlMagnusson
Deactivated User
I'm having the same problem. Have anyone find esri's bug report for this problem?

/Karl M Växjö - Sweden
0 Kudos
by Anonymous User
Not applicable
This NIM - NIM083369 - Analyzer error 00007: Layer's definition query is invalid appears when publishing enterprise data with a definition expression based on the geometry fields such as ORASPATIAL.States.AREA fields.

has been addressed in ArcGIS 10.1 SP1.

http://downloads.esri.com/support/downloads/other_/189810.1_SP1_Announcement.pdf

ArcGIS 10.1 SP1 for Server is available from the Customer Care Portal - http://customers.esri.com. Please refer to the link below:
http://support.esri.com/en/downloads/patches-servicepacks/view/productid/189/metaid/1913
0 Kudos
DuaneTreadon
Regular Contributor
Hi all,

My background is in using GIS for analytic processes and all on one machine.  I now find myself in the exciting world of servers and enterprise database models.  We have adopted the LGIM structure to populate with our data.  Currently I am working on learning how to publish map services.  I seem to do great on simple maps I've created as suggested by tutorials with no errors produced.  However I am having trouble with the above mentioned error when I try and publish the General Purpose base map provided as part of the LGIM. 

I am using ArcAdvance 10.1 and Advance Server 10.1.  Both have SP1 installed but I still get the error.  Is there something with the LGIM or base maps provided that I need to do before publishing out as a map service?

Sorry if this is a newbie question, just getting into learning this side of GIS.

Thanks for the assistance.

DT
0 Kudos
nizarsalih
Occasional Contributor
I am trying to publish Local Gov Community map and General Purpose Basemap in 10.1 SP1 but still having Error 001272: Analyzer errors were encountered (codes = 7,7,7,...7). What else could possibly cause this error beside queries based on geometry field, which according to the previous post got resolved in SP1. Did anyone successfully publish Community map after upgrading to SP1?
Thank you,
Nizar
0 Kudos
DuaneTreadon
Regular Contributor
I am trying to publish Local Gov Community map and General Purpose Basemap in 10.1 SP1 but still having Error 001272: Analyzer errors were encountered (codes = 7,7,7,...7). What else could possibly cause this error beside queries based on geometry field, which according to the previous post got resolved in SP1. Did anyone successfully publish Community map after upgrading to SP1?
Thank you,
Nizar


We are still having problems with ours.  It will publish only if we remove the definition queries that used SHAPE.STLength or SHAPE.STArea.   The funny thing to me is that you can use these fields with no problems in label SQL processes.
0 Kudos
Peter_von_Minden
Occasional Contributor
I am experiencing the exact same issue when using the .AREA field in a definition query. It seems to be localised to my PC though. I have SP1 installed and so do my colleagues but when I try and publish it on my PC, I am the only one to get the error. I have re-installed ArcGIS 10.1 and the service pack but it still happens.

Anyone else found the same thing with other PC's being able to publish?
0 Kudos
HusenKang
Emerging Contributor
Anyone has the solution for this issue?

I got SP1 installed and getting this error when trying to publish a map service.
In the MXD, there are some layers using Shape.STLength() in the query definition.
0 Kudos
DuaneTreadon
Regular Contributor
Anyone has the solution for this issue?

I got SP1 installed and getting this error when trying to publish a map service.
In the MXD, there are some layers using Shape.STLength() in the query definition.



We are still having the problem also.  Even with SPs installed on both serer and desktop.  Our GIS Systems Administrator seems to think it has to do with SQL Server and how it names things.  Anyone else think of this angle?
0 Kudos
DuaneTreadon
Regular Contributor
This NIM - NIM083369 - Analyzer error 00007: Layer's definition query is invalid appears when publishing enterprise data with a definition expression based on the geometry fields such as ORASPATIAL.States.AREA fields.

has been addressed in ArcGIS 10.1 SP1.

http://downloads.esri.com/support/downloads/other_/189810.1_SP1_Announcement.pdf

ArcGIS 10.1 SP1 for Server is available from the Customer Care Portal - http://customers.esri.com. Please refer to the link below:
http://support.esri.com/en/downloads/patches-servicepacks/view/productid/189/metaid/1913


Apparently it has not been fixed for everyone with release of SP1.  Any additional help that can be provided?
0 Kudos