Select to view content in your preferred language

Error while running Schematics Model GPService on Server

2792
3
Jump to solution
05-06-2011 03:58 AM
anoopjayaram
New Contributor II
Hi all...

I am trying to generate schematics of the selected features on web.
I have created a model and it is working in arcmap.
But when I published the same GP Tool into server and called via the Geoprocessingtask,
it is throwing errors while running.
I was publishing same map data as map service.
Tool was published as GeoprocessingService based on tbx.
I get these below messages.

Error: Job Status: Failed 
Messages 

   Submitted. 

   Executing... 

   Error: Failed. 


What might be wrong here.Anything more to do on settings or configuration?
Any help on this is highly appreciated.
I have attached the model pics also.Pls chk that too.

Thanks in advance 🙂
Regards,
Anoop Jayaram
0 Kudos
1 Solution

Accepted Solutions
Stefan_Arndt
Esri Contributor
Hey Anoop Jayaram,

did you check if you stored the locations as relative path names? And if the files are readable for SOC and SOM?
Perhaps your GP-Service just can't find the files (path to files) or has not the privileges to read them.

Best regards,
Stefan

View solution in original post

0 Kudos
3 Replies
Stefan_Arndt
Esri Contributor
Hey Anoop Jayaram,

did you check if you stored the locations as relative path names? And if the files are readable for SOC and SOM?
Perhaps your GP-Service just can't find the files (path to files) or has not the privileges to read them.

Best regards,
Stefan
0 Kudos
by Anonymous User
Not applicable
Original User: anoop_jayaram

Hi Stefan,

Thanks for the reply.


did you check if you stored the locations as relative path names?

You got the problem....I think it is the same problem with my gp.

Because when i created a new simple geoprocessing task with just one task.it worked in desktop but fails in server after publishing.(Attached the model and path settings)

Can you please help on how to set the relative path.
I have already checked the check box in the model properties to save in relative path but no result.



And if the files are readable for SOC and SOM?
Yes I have given the permissions.


Thanks and Regards,
Anoop Jayaram
0 Kudos
Stefan_Arndt
Esri Contributor
I checked my own models and i'm using absolute path names, so probably i was wrong, this was just an idea 🙂

But when you just build and upload a small modell and then try different kinds of path-names you'll figure it out! If you want you can change the input file to a model parameter, then you can enter the path names as a string value before running the model - perhaps this is easier to find out the correct path for you.

And if this doesn't work, you should check the read/write permissions again. And if it doesn't work after these steps, you can write me an email and i'll have a look at it (but i'm just a non-professional and not working for esri).
0 Kudos