Select to view content in your preferred language

Extract Data Task stopped working

3519
7
06-15-2011 10:14 AM
JonFisher
Emerging Contributor
Hi,

I've been using the Extract Data task and Data Extract widget for the Flex viewer for several months, and it recently stopped working (http://maps.tnc.org/coredata/index.html?config=download.xml , which references http://maps.tnc.org/ecadpubprodanon/rest/services/core_data_extract_anon/GPServer/Extract%20Data%20T... ). It was working in late April (the last time I messed with it), but it was reported to me on 5/27 that it wasn't working anymore (I was out of office for a few weeks).

I�??m able to select an area of interest (AOI), pick the layers, and get to the dialog box for where to save the .zip file for the data, but the data doesn't download. When I select Shapefile as the data type, the .zip file does not get written to my local disk. When I select File Geodatabase, I do get the .zip file, and it contains the data.gdb, but the data.gdb is empty. I checked firebug which seems to choke when it gets the zip file (e.g. http://maps.tnc.org/arcgisjobs/core_data_extract_anon_gpserver/j50ade7b65d204e0bb273deccda3b3986/scr...). This link shows up as 0 bytes. The prior links (http://maps.tnc.org/ecadpubprodanon/rest/services/eras_anon_WM/MapServer/tile/9/185/111 , http://maps.tnc.org/ecadpubprodanon/rest/services/core_data_extract_anon/GPServer/Extract%20Data%20T... , http://maps.tnc.org/ecadpubprodanon/rest/services/core_data_extract_anon/GPServer/Extract%20Data%20T... ) all seem to work fine. If I open the final firebug link directly, it says the zip file is corrupt. If I remote desktop into the server I can open the zip file but it's empty.

I tried running the task from the mxd the GP service is based on and it still generates an empty zip file. The data is showing up fine. I've tried creating a new GP service from the same mxd, making a new mxd with the Extract Data Task, changing the projection (currently the map is WM but the mxd has data & data frame in WGS84), but nothing has worked.

My server admin doesn't think any changes were made in the last month or so other than a Windows patch. Any ideas what could be going on?
Tags (2)
0 Kudos
7 Replies
JonFisher
Emerging Contributor
It turned out this was caused by our upgrade to SDE 10.  We had an sdeconfig that was needed to increase the logfilepool size, and once that was made it started working again.
0 Kudos
baixuehong
Emerging Contributor
Hello,Fisher!
I encountered this problem too.But my problem is that everything is ok but when I clicked the save button, no extractdata.zip exists. Can you tell your solution in detail, such as the SDE 10, how did you solve it�?
0 Kudos
JonFisher
Emerging Contributor
Hello,Fisher!
I encountered this problem too.But my problem is that everything is ok but when I clicked the save button, no extractdata.zip exists. Can you tell your solution in detail, such as the SDE 10, how did you solve it�?


Sorry, the zip being missing is the same problem I had, but my ArcGIS Server administrator is the one who made the fix and all I know is what I wrote (that he had to increase the logpool size).

I do know that the same problem can have other causes, like if you modified the original ESRI tool to use a different zip file name (I did that and it stopped working, so keep their default name), or the wrong network path being used to store the zip file, etc.

Have you tried using firebug or fiddler or some similar tool to figure out what exactly is failing? In other words, what is the application trying to do on the back end that doesn't work?
0 Kudos
baixuehong
Emerging Contributor
Sorry, the zip being missing is the same problem I had, but my ArcGIS Server administrator is the one who made the fix and all I know is what I wrote (that he had to increase the logpool size).

I do know that the same problem can have other causes, like if you modified the original ESRI tool to use a different zip file name (I did that and it stopped working, so keep their default name), or the wrong network path being used to store the zip file, etc.

Have you tried using firebug or fiddler or some similar tool to figure out what exactly is failing? In other words, what is the application trying to do on the back end that doesn't work?




What's firbug or fiddler? I can not download the extractdata.zip file in any format, how come?
look forward to your reply.
0 Kudos
baixuehong
Emerging Contributor
Sorry, the zip being missing is the same problem I had, but my ArcGIS Server administrator is the one who made the fix and all I know is what I wrote (that he had to increase the logpool size).

I do know that the same problem can have other causes, like if you modified the original ESRI tool to use a different zip file name (I did that and it stopped working, so keep their default name), or the wrong network path being used to store the zip file, etc.

Have you tried using firebug or fiddler or some similar tool to figure out what exactly is failing? In other words, what is the application trying to do on the back end that doesn't work?


Where is the logfilepool? I install SDE10 too. But I cannot find the logfilepool item.
0 Kudos
baixuehong
Emerging Contributor
Can you put up a screenshot to illustrate this logfilepool size?
0 Kudos
baixuehong
Emerging Contributor
I installed the firebug software, and it popped up this problem as follows:
Error #2044: �?��?�?�?? IOErrorEvent:�?? text=Error #2038: �??件 I/O �??误�??
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 do not know how to handle it, do you know this?
0 Kudos