Not able to publish geo processing tool

Discussion created by suryakant on Nov 8, 2013
Latest reply on Nov 8, 2013 by nidhinkn
Hi everyone,

I wrote a python code in which the processing is done in "in_memory". I'm not saving output on disk. I want to publish it in ArcGIS 10.1 where I get an error "Failed to execute (StageService)" and "ERROR 001270: Consolidating the data failed" while publishing that tool. Below, I am writing the steps which I followed:
Step1: Create toolbox and add script to it
Step2: Run that Geo processing Tool
Step3: Go to Results tab and right click on recent result which I got after running that GP tool.
Step4: In the right click option, go to "Share As" and select "Geoprocessing Service".
Step5: This will open a publishing wizard
Step6: Select Publish a service.
Step7: Choose a connection (I have an admin rights) and service name.
Step8: Use existing folder
Step9: In Item Description tab, write summery, tags & description.
Step5: Click on Publish.

After that I get a StageService error

Where I am going wrong?
I published the same script in ArcGIS 10.0 which is running fine.

Any help would be appreciated.