AnsweredAssumed Answered

publishing a geoprocessing service that references in_memory data to AGS 10.1  fails

Question asked by tyndallt_esri on Sep 12, 2012
Latest reply on Sep 13, 2012 by geonetadmin
Hoping to repeat the lightening fast resolution to an earlier question I posted, I'd like to ask for help with this follow on to my original issue. The solution to my first post involved using an in_memory workspace to build feature classes. My current issue is that I need to publish that geo proc to ArcGIS Server 10.1, but the publish fails with a consolidating data failure error.

The following code focuses the core issue:
import arcpy         if __name__ == '__main__':     fc = arcpy.CreateFeatureclass_management("in_memory", "fc1", "POINT", "", "DISABLED", "DISABLED", "", "", "0", "0", "0")     arcpy.Delete_management(fc)


If you create a script tool around this code, run it and try and publish the result to AGS you are alerted that the in_memory workspace has been identified as needing to be copied to AGS.
[ATTACH=CONFIG]17644[/ATTACH]

Continuing with the publish fails.
[ATTACH=CONFIG]17645[/ATTACH]

I've tried adding "in_memory" as a registered folder in AGS Data Store but that doesn't work. Any ideas?

Attachments

Outcomes