ESRI.ArcGIS.Client.Tasks.ServiceException was caught
Message=Unable to complete operation.
Source=ESRI.ArcGIS.Client
Code=400
StackTrace:
at ESRI.ArcGIS.Client.Tasks.TaskBase.Request(String url, Dictionary`2 parameters, Boolean forcePost)
at ESRI.ArcGIS.Client.Tasks.Geoprocessor.Execute(List`1 parameters)
at TAGISViewer.GeoprocessingDialog.<DoRunSelectedTool>b__0() in C:\Source\PACS.NET\Source\Development\PACS.NET-1.0\Washington\TAGISViewer\Dialogs\GeoprocessingDialog.cs:line 410
InnerException:
Details:
Error executing tool.: ERROR 000210: Cannot create output C:\Users\gfaraj\AppData\Local\Temp\arcgisruntime_11992\geotools\jobs\_\j5c946bbf0d954cf19138cffb3190f140\scratch\scratch.gdb\Buffer487
Failed to execute (Buffer).
Failed to execute (BufferModel).
Failed to execute (BufferModel).
Failed to execute (BufferModel).
- Capture the task/job status and retry the tool (for a limited count!) until it succeeds.
- Execute your code on a PC/VM that has just the default Windows build i.e. no antivirus or group policies that might restrict your app writing to the temp directory. (This seems to be a common cause for ERROR 000210 and the like.)
I'd be interested if you were able to share any GPO rules you are aware of and the flavour of antivirus you use. (I have a dev laptop running a default build of 32-bit Win7 SP1 and Symantec Endpoint Protection off the network and it runs fine, however our enterprise build of 64-bit Win7 SP1 and Microsoft Forefront Endpoint Protection has the issue you describe.)
For a while, it seemed that submitJob worked better than executeAsync and that x86 Windows worked better than x64, but it seems to relate more to the user temp directory access and my current thinking is that it isn't actually a bug with the Runtime SDK.