Hi,
We are trying to run a Geprocessing Task in a WCF service. We get a TypeIntialization Exception Error.
We would like to know how to solve this error. Do we need to add any reference etc don't know.
Here is what I did.
1.Created a WCF service library project.
2.We added reference to the ESRI.ArcGIS.Client.dll (ArcGIS Silverlight API library) to it.
3.We run the service and try to execute the ExecuteMemConnectGPJob() method as shown in the snap.
3.This method contains a Geoprocessing task.
4. We get an error as soon as hits the line 43 shown in the snap.
5.We cannot figure out how to solve this.
Question:
Can we use ArcGIS silveright API library in a WCF service ?
if not what is there any work around to achieve this.
Thanks
Muralidhar Moka
Error is shown in the snap shot.
I am not sure how you were able to add the Silverlight reference. You should be add the WPF library ESRI.ArcGIS.Client.dll and it has the same classes for GP task