AnsweredAssumed Answered

Geoprocessing Clip

Question asked by novikov on Jun 10, 2013
Latest reply on Jun 19, 2013 by khibma-esristaff
Hello!

I try to make my first Geoprocessing project on WPF. I need to aplly Clip tool to layers, so I tryed to make it like in WPF Examples (WPFSampleApplication10.1.1). I've made the same application in Visual Studio 2012 and all works fine. But when I try to do my own .gpk file there were some problems. All i do this: 1. Same toolbox 2. Run it 3. Make gpk 4. Export and try to run it.
then i parse
_gpTask.ExecuteCompleted -> e.Results.Messages
to Xml file. May be it would be helpful.
<?xml version="1.0" encoding="utf-8"?> <Log>   <date_10.06.2013_14_33_06 Name="Executing (ClipFeatures): ClipFeatures &quot;100 Kilometers&quot; &quot;Feature Set&quot;" Error="" />   <date_10.06.2013_14_33_06 Name="Start Time: Mon Jun 10 14:31:03 2013" Error="" />   <date_10.06.2013_14_33_06 Name="Executing (ClipFeatures): ClipFeatures &quot;100 Kilometers&quot; &quot;Feature Set&quot;" Error="" />   <date_10.06.2013_14_33_06 Name="Start Time: Mon Jun 10 14:31:03 2013" Error="" />   <date_10.06.2013_14_33_06 Name="Executing (ClipFeatures): ClipFeatures &quot;100 Kilometers&quot; &quot;Feature Set&quot;" Error="" />   <date_10.06.2013_14_33_06 Name="Start Time: Mon Jun 10 14:31:04 2013" Error="" />   <date_10.06.2013_14_33_06 Name="Executing (Buffer): Buffer &quot;Feature Set&quot; C:\Users\1\AppData\Local\Temp\arcgisruntime_6260\clipfeatures\jobs\_\j093970f38300414a902fc9e7f4dc18e0\scratch\scratch.gdb\Polyline_Buffer &quot;100 Kilometers&quot; FULL ROUND NONE #" Error="" />   <date_10.06.2013_14_33_06 Name="Start Time: Mon Jun 10 14:31:04 2013" Error="" />   <date_10.06.2013_14_33_06 Name="WARNING 000117: Warning empty output generated." Error="" />   <date_10.06.2013_14_33_06 Name="Succeeded at Mon Jun 10 14:31:04 2013 (Elapsed Time: 0,00 seconds)" Error="" />   <date_10.06.2013_14_33_06 Name="Executing (Clip): Clip ClipFeatures\Counties C:\Users\1\AppData\Local\Temp\arcgisruntime_6260\clipfeatures\jobs\_\j093970f38300414a902fc9e7f4dc18e0\scratch\scratch.gdb\Polyline_Buffer C:\Users\1\AppData\Local\Temp\arcgisruntime_6260\clipfeatures\jobs\_\j093970f38300414a902fc9e7f4dc18e0\scratch\scratch.gdb\Polyline_Buffer_Clip #" Error="" />   <date_10.06.2013_14_33_06 Name="Start Time: Mon Jun 10 14:31:04 2013" Error="" />   <date_10.06.2013_14_33_06 Name="WARNING 000117: Warning empty output generated." Error="" />   <date_10.06.2013_14_33_06 Name="Succeeded at Mon Jun 10 14:31:05 2013 (Elapsed Time: 1,00 seconds)" Error="" />   <date_10.06.2013_14_33_06 Name="Executing (Select Data): SelectData C:\Users\1\AppData\Local\Temp\arcgisruntime_6260\clipfeatures\jobs\_\j093970f38300414a902fc9e7f4dc18e0\scratch\scratch.gdb\Polyline_Buffer_Clip #" Error="" />   <date_10.06.2013_14_33_06 Name="Start Time: Mon Jun 10 14:31:05 2013" Error="" />   <date_10.06.2013_14_33_06 Name="Succeeded at Mon Jun 10 14:31:05 2013 (Elapsed Time: 0,00 seconds)" Error="" />   <date_10.06.2013_14_33_06 Name="Succeeded at Mon Jun 10 14:31:05 2013 (Elapsed Time: 1,00 seconds)" Error="" />   <date_10.06.2013_14_33_06 Name="Succeeded at Mon Jun 10 14:31:05 2013 (Elapsed Time: 2,00 seconds)" Error="" />   <date_10.06.2013_14_33_06 Name="Succeeded at Mon Jun 10 14:31:05 2013 (Elapsed Time: 2,00 seconds)" Error="" /> </Log>


I can't find any mistakes. I think something wrong with making GPK.
Any ideas or links?

Outcomes