I'm using ArcMap and ArcServer 10.2.1
I'm trying to publish a tool to ArcGIS server (federated to a Portal). The script uses the in_memory workspace to store temporary data, and when you Analyze the service when publishing, it returns a warning that it has to upload the in_memory workspace to the server because it's not registered with the server (we have a couple of geodatabases and folders registered with the server already). I ignore the warning and publish the service and get an error when it tried to stage the service. The error is "ERROR 001270: Consolidating the data failed."
From the documentation, the error normally has something to do with the paths to the data. I think this error is bubbling up because the data doesn't exist anymore.
Shouldn't Arc "know" not to upload the in_memory workspace? At the end of the script I clean them up and delete all the datasets in the in_memory workspace. I'd appreciate any advice.
-Brendan