Error#2032: Stream Error. URL:

940
9
01-04-2011 01:26 AM
RahatSyed
New Contributor
I am using ArcGIS viewer for Flex. I downloaded the package unzipped and put it under wwwroot folder. We don't have internet neither at server not at client side. I just change the url of street layer (i.e. first layer to show) in config.xml to our local ArcGIS service running at server. I am getting following error when try to access this page:

Error #2032: Stream Error. URL:
http://server/flexviewer/osmf_flex.4.0.0.13495.swz

Please help me to solve this problem.
Tags (2)
0 Kudos
9 Replies
DasaPaddock
Esri Regular Contributor
Make sure this swz file is in the same folder as the index.swf file. It should be there in the Viewer zip file. Also make sure your web server will serve it.
0 Kudos
RahatSyed
New Contributor
Thank you Dasa. I made changes in IIS and it is working now. But I have another problem, i.e. Map is not loading into viewer. I have host a map service at our server by using ArcGIS Server and its address is http://server/Arcgis/services/something/MapServer. Can you please help me? What could be the reason?
0 Kudos
DasaPaddock
Esri Regular Contributor
Are your Viewer and ArcGIS Server on the same machine? If not, you'll need to add a crossdomain.xml file to the root of the ArcGIS server.

It may help to post your map config too.
0 Kudos
RahatSyed
New Contributor
I have flexviewer and ArcGIS Server at same machine. I have used the following codes in config.xml for loading MapService into Flexviewer:

map
   basemap label="streets" type="tiled" visible="true" alpha="1"
   url="http://server/arcgis/services/Something/MapServer"
0 Kudos
DasaPaddock
Esri Regular Contributor
Is your serviced cached? Is "Single Fused Map Cache:" true on the Services Directory page? If not, try setting the type to "dynamic".
0 Kudos
RahatSyed
New Contributor
No map service is not cached. In the ArcGIS Manager, it is that "Draw this map service: Dynamically from the data."

Is it a permission problem? may be Flexviewer don't have permission to access ArcGIS map server?
0 Kudos
DasaPaddock
Esri Regular Contributor
Have you tried setting the type to "dynamic" in the layer tag?
0 Kudos
RahatSyed
New Contributor
Yes, I tried that too. Is this problem because of the reason that I am using trial version of ArcGIS Server? or because we don't have internet neither at server side not at client side?
0 Kudos
DasaPaddock
Esri Regular Contributor
Do you get a map on the page if you go to http://server/arcgis/services/Something/MapServer and click on Export Map on the bottom of the page?

You don't need Internet access from the client if it can connect to your server. Have you tried using a tool like HttpFox to monitor the requests and response sent from the client to the server to see if any errors are being returned?
0 Kudos