I use Python to build geprocessing tools a query on feautures. As a result I sent back a feature layer (derived output) with
arcpy.SetParameter(2,output_layer)
This works perfect in most cases. But the problem is when you did not found where you're looking for. Then the resulting feaute layer is empty. For AGS, this is no problem: The result I get in that case is:
Geoprocessing Parameter: Gevonden_Graafbericht
Data Type: GPFeatureRecordSetLayer
Geometry Type: esriGeometryPolygon
Spatial Reference: 28992
# records: 0
The problem is that when the silverlight viewer get's back this result, the silverlight plugin crashes!!!
Is there anybody how knows the reason, or better, how to fix this?
I'm using ArcGIS Viewer for Silverlight version 3.1 and AGS 10 SP5
kind regards,
Bert Havekes
(from the Netherlands)