is querying a joined table not supported
sometimes geometry is returned, other times it is not
It is supported and it's generally working. I can't reproduce your issue.
Is your query working if you are just using the REST API?
This can happen if the SHAPE field is not visible. I guess it's not your case if find task is working but worth the verification. Else same question, is it working with the REST API only?
Lance,
How many records do you expect to be returned by the query when the where clause is 1=1?
Is it it the 500 records that a service defaults to, or you have changed the maximum number to a bigger than 2000 records?
I have not tried your scenario, but I have seen this error in the situation explained in this thread:
http://forums.esri.com/Thread.asp?c=158&f=1696&t=297004,
And since you have a business table joined, it might be related.
And here is another thread that is kind of related:
http://forums.esri.com/Thread.asp?c=158&f=2421&t=303159&mc=2#msgid948261
To test this, try running a query that returns only a small number of records. If it works, try changing the max number of records for the service to a number smaller than 2000, and run again the 1=1 query. See if you will get results back.
Good Luck!
Darina
the first is showing the layer info, the second showing the result of the query. i get the same error.
you are correct, the SHAPE field was hidden. unhiding it seems to resolve that particular issue. odd that ID and Find tasks returned geometry, isn't it?
So it's not a Silverlight API issue :cool: .... but anyway an issue:confused:
The only strange thing I saw in your screenshots is that the Display Field is 'ProjectName', I thought it should be 'GIS_Info.ProjectName'.
Likely this doesn't explain your issue but could worth the try to reinitialize the display field in ArcMap before publishing the service.
Other question : Is 'Open Attribute Table' working well on this layer in ArcMap ?