Select to view content in your preferred language

ClipAndShip GP service, getting error while saving file (Flex Data Extract Widget)

603
1
04-19-2012 11:50 PM
AYounas
Occasional Contributor
Hi All,

Sorry for the cross post as already posted it in Flexviewer forum.

My ClipAndShip service is working fine on ArcMap but when I run it through application it is not shiping the clipped data, any help please?

Further explanation is, I am using Flexviewer DataExtract widget with my own geoprocessing service. It is creating zip folder with data but when it comes to the stage where I can download it, as soon as I press save, it crashed and don't save anything and an error window comes up showing the message below:

Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error.
 at widgets.DataExtract::DataExtractWidget/downloadFile()
 at widgets.DataExtract::DataExtractWidget/alert_ClickHandler()
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at mx.core::UIComponent/dispatchEvent()
 at mx.controls.alertClasses::AlertForm/removeAlert()
 at mx.controls.alertClasses::AlertForm/clickHandler()


I'll appreciate any help in this regard, please!

Thanks,

Adi
0 Kudos
1 Reply
JMcNeil
Deactivated User
I'm not a flex guy but you might want to try and increase your parameters in your Geoprocess Service (in Server Manager).  I would bump up the number of records to return by 10 fold (just to test and then drop it back down if it does work)

Maximum Number of Records Returned by Server:

I would also bump up the pooling (timeout) numbers (once again just to test)

Timeouts
The maximum time a client can use a service:  seconds
The maximum time a client will wait to get a service:  seconds
The maximum time an idle instance can be kept running:  seconds


If you download fiddler and trace your error you will get a better description of what is happening:
Download Fiddler,
Start Fiddler
Start your Geoprocess task
Wait until it fails
Look at the last few lines of communication between your server and your machine
Select the Inspect Tab
In the right top window select Webforms to see what your machine was requesting
In the bottom right window select Text View to see what the server sent back...here you will find a clear error message


Jay
0 Kudos