Select to view content in your preferred language

Data Extract Widget - Does not always download

2541
7
04-07-2011 01:28 PM
LisaArnold
Deactivated User
Hello,
I am using the Data Extract Widget in my Flex Viewer 2.2 app. When I pull up the website and use the Data Extract widget inside my own network, everything works just fine. When I pull up the site and use the widget when I'm outside my network (at home, clients office) the widget appears to work, I am asked to save the file, but the zip file never actually downloads. Everything else on the site works as expected and I can continue to use the site after trying to use the Data Extract widget.

As a note, I am using the Data Extract widget on another site and it works both inside and outside of our network. Any help on what might be going on here is appreciated.

Thank you.
Tags (2)
0 Kudos
7 Replies
DasaPaddock
Esri Regular Contributor
Is your output folder accessible from the outside? Try using a tool like HttpFox to see what the download url is inside and outside your network.
0 Kudos
LisaArnold
Deactivated User
I used HttpFox and do see a problem, although I can't figure out how to correct it. When running the extract widget it is trying to download http://gis-web/crossdomain.xml, which is not my fully qualified domain name, so it is returning as not found. Where is the instruction that is telling the extract widget to get the cross domain file? Within the data extract xml I have <dataextractionservice> populated with the full qualified domain, http://gis-web.heritage.unm.edu/ArcGIS/rest/services/DataMgmt/soi_usfsblm_extract/GPServer/Extract%2....

I searched all my files in the website directory for /gis-web/ to see if I could pinpoint where that is coming from, but I don't find anything. Where should I be looking to correct this?
0 Kudos
DasaPaddock
Esri Regular Contributor
I think the problem is with the configuration on the server for your virtual directory. See what the url is in the extract response.

Reference:
http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/Exposing_your...
0 Kudos
MarshallRobinson
Occasional Contributor
I am having the same problem, and w/HttpFox, it errors with the cross domain file and doesn't give the host name and instead gives the server name. However, when I run the same extract widget from a browser on the server where all of my files are it gives me another error on HttpFox.  It doesn't error at the cross domain file, but instead errors immediately after this and can't pull the zipped file from the arcgisoutput folder.  I also realized that all of the attempts I made to create the zip file were stored in that folder, but they just can't be pulled from it for some reason.  I've got full administrative privileges to all the files, so I'm just stuck.
0 Kudos
DasaPaddock
Esri Regular Contributor
Please contact Esri Support at http://support.esri.com/en/
0 Kudos
LisaArnold
Deactivated User
As an update for the other user experiencing the issue, the problem was indeed the configuration of my virtual directories. In ArcGIS Server Manager under GIS Server, Server Directories - I had to switch each different directory (output, cache, jobs, etc.) and change the virtual directory such that it was a fully qualified domain. Clearing the cache, REST API cache and restarting the service though did not make this change take effect in my geoprocessing extract service. I had to republish the geoprocessing service then update the xml for the Data Extract widget to point to the new service.
0 Kudos
baixuehong
Emerging Contributor
I encountered this matter too, but I have not resolved it. Do you resolve it ? I can not understand your method, can you explain it in detail? Thank you very much.
0 Kudos