Greetings everyone,
I am currently trying to develop a custom data extract tool similar to the one used by the Flex Viewer. The difference is that this web service is supposed to output a simple .csv file instead of a geodatabase, shapefile, etc.
Attachment 19023
I have built this very simple model that clips and converts the resulting features into a CSV file. The model obviously works when executed on the Desktop, but fails on the server.
Attachment 19024
The server returns a JobSubmitted token, so I know the input is formatted properly. However, soon after the server returns failure.
Attachment 19025
I have been trying to determine the source of the error. I have visited the logs for that job and found this in the documentation:
I am not sure why it gives me an error if I correctly generate a csv file in ArcGIS Desktop.
Does someone have an idea of what is the error? Many thanks for all your help!
Regards,
Jorge
I am currently trying to develop a custom data extract tool similar to the one used by the Flex Viewer. The difference is that this web service is supposed to output a simple .csv file instead of a geodatabase, shapefile, etc.
Attachment 19023
I have built this very simple model that clips and converts the resulting features into a CSV file. The model obviously works when executed on the Desktop, but fails on the server.
Attachment 19024
The server returns a JobSubmitted token, so I know the input is formatted properly. However, soon after the server returns failure.
Attachment 19025
I have been trying to determine the source of the error. I have visited the logs for that job and found this in the documentation:
Code:
Server Context created.
String request received. Request size is 277 characters.
GetDefaultMapName has started.
GetDefaultMapName has completed.
String request succesfully processed. Response size is 385 characters.
String request received. Request size is 275 characters.
GetDocumentInfo has started.
GetDocumentInfo has completed.
String request succesfully processed. Response size is 1406 characters.
String request received. Request size is 321 characters.
GetServerInfo has started.
GetServerInfo has completed.
String request succesfully processed. Response size is 23989 characters.
String request received. Request size is 287 characters.
GetServiceConfigurationInfo has started.
GetServiceConfigurationInfo has completed.
String request succesfully processed. Response size is 1281 characters.
String request received. Request size is 542 characters.
GetDefaultLayerDrawingDescriptions has started.
GetDefaultLayerDrawingDescriptions has completed.
String request succesfully processed. Response size is 2465 characters.
String request received. Request size is 341 characters.
GetCacheDescriptionInfo has started.
GetCacheDescriptionInfo has completed.
String request succesfully processed. Response size is 399 characters.
String request received. Request size is 333 characters.
String request succesfully processed. Response size is 391 characters.
Server Context released.
Server Context created.
String request received. Request size is 272 characters.
Container 6048 is successfully created on machine server.
Thread 10828 is successfully created on container 6048 of machine server.
GPServer instance is successfully constructed.
Server Object instance is successfully created on machine server.
Server Context created.
String request received. Request size is 272 characters.
String request succesfully processed. Response size is 11000 characters.
String request received. Request size is 282 characters.
String request succesfully processed. Response size is 431 characters.
String request received. Request size is 276 characters.
String request succesfully processed. Response size is 406 characters.
Server Context released.
String request succesfully processed. Response size is 11000 characters.
String request received. Request size is 282 characters.
String request succesfully processed. Response size is 431 characters.
String request received. Request size is 276 characters.
String request succesfully processed. Response size is 406 characters.
Server Context released.
Server Context created.
String request received. Request size is 2685 characters.
Job j6894e88ea85c4567bf12201d09e52311 is successfully submitted.
String request succesfully processed. Response size is 396 characters.
Server Context released.
Server Context created.
String request received. Request size is 342 characters.
String request succesfully processed. Response size is 385 characters.
String request received. Request size is 346 characters.
String request succesfully processed. Response size is 550 characters.
Server Context released.
Job j6894e88ea85c4567bf12201d09e52311 scheduled for execution.
Create directory succeeded: c:\arcgisserver\arcgisjobs\gravitymagnetic\gravity_mag_us_webmercator_gpserver\j6894e88ea85c4567bf12201d09e52311\scratch
Load job j6894e88ea85c4567bf12201d09e52311 message type SOAP message size 2685
ERROR 000816: The tool is not valid.
Error executing tool.
Save job j6894e88ea85c4567bf12201d09e52311 message type SOAP message size 371
Server Context released.
Server Context created.
String request received. Request size is 342 characters.
String request succesfully processed. Response size is 382 characters.
String request received. Request size is 346 characters.
String request succesfully processed. Response size is 831 characters.
Does someone have an idea of what is the error? Many thanks for all your help!
Regards,
Jorge