Select to view content in your preferred language

Where can I find explanation for server errors concerning silverlight? GP error

993
2
07-18-2012 06:16 AM
BrianMulcahy
Occasional Contributor
I am trying to run a gp tool in my silverlight app and keep receiving errors but I have no idea what would be causing them. The geoprocessing tool runs fine in my .Net web application Any ideas?
Error:
Error executing tool.: ERROR 030043: Illegal ring value: System.Windows.Controls.TextBox. 
ERROR 030043: Illegal ring value: System.Windows.Controls.TextBox. 
ERROR 030059: No sublayers found. 
ERROR 000735: Input Features: Value is required


Code for parameters:
List<GPParameter> parameters = new List<GPParameter>();
                parameters.Add(new GPString("Input_Layer", LayersList.SelectedValue.ToString()));
                parameters.Add(new GPFeatureRecordSetLayer("Start_locations", mapPoint));
                parameters.Add(new GPString("Default_break_values", DBValues.ToString()));


Here is the geoprocessing tool in question:

Execution Type: esriExecutionTypeAsynchronous

Parameters: 

Parameter: Input_Layer
Data Type: GPString
Display Name: Input Layer
Direction: esriGPParameterDirectionInput
Default Value: Helicoverpa armigera (OWB, 1)
Parameter Type: esriGPParameterTypeRequired
Category: 
Choice List: 
Adoxophyes orana (SFTM, 12)
Mycosphaerella gibsonii (NBP, 11)
Eudocima fullonia (FPM, 10)
Unaspis yanonensis (AS, 9)
Spodopetra litura (CCW, 6)
Ceroplastes destructor (SWS, 5)
Dendrolimus superans (SSM, 4)
Nysius huttoni (NZWB, 3)
Planococcus minor (PM, 2)
Helicoverpa armigera (OWB, 1)

Parameter: Start_locations
Data Type: GPFeatureRecordSetLayer
Display Name: Start locations
Direction: esriGPParameterDirectionInput
Default Value: 
Geometry Type: esriGeometryPoint
Spatial Reference: 102005
Fields:
FID (Type: esriFieldTypeOID, Alias: FID)
Shape (Type: esriFieldTypeGeometry, Alias: Shape)
MY_ID (Type: esriFieldTypeDouble, Alias: MY_ID)
Parameter Type: esriGPParameterTypeRequired
Category: 

Parameter: Default_break_values
Data Type: GPString
Display Name: Default break values
Direction: esriGPParameterDirectionInput
Default Value: 25 50 75 100 125
Parameter Type: esriGPParameterTypeOptional
Category: 
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
It seems your geoprocessor requires another parameter with name "Input_Features" that is missing in your application. Illegal ring value sound like one of the parameters sent was a TextBox?
0 Kudos
BrianMulcahy
Occasional Contributor
It seems your geoprocessor requires another parameter with name "Input_Features" that is missing in your application. Illegal ring value sound like one of the parameters sent was a TextBox?


Yes I should have updated this but My problem was the text box.

I had
parameters.Add(new GPString("Default_break_values", DBValues.ToString()));

When I should of had.
parameters.Add(new GPString("Default_break_values", DBValues.Text));


That one error most have set off the other errors in question.
0 Kudos