FlexViewer 2.4 strange error #2032

7644
17
10-06-2011 04:56 PM
ChrisBente
New Contributor
This error has been driving me crazy for days now. I've tried mining the web and the Esri forums for any information that would help me rectify/diagnose the error. Tried everything out there, still with no luck. It's not a cross domain issue. The server, map services, and I am all on the same domain. It's not a MIME types issue or a mixing of IP addresses with machine names issue. It occurs randomly at least once a day, doesn't matter which web browser is used (IE, FF) usually at the first instance the server has to "spin up" per user invoke and serve the data in the morning, and it seems to be affecting random map services (of which there are 8). Here is the actual error message:

County_Cities layer failed to load: Fault code: Server.Error.Request

Fault info: HTTP request error

Fault details: Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://gis01/ArcGIS/rest/services/XXXXXX/County_Cities/MapServer?f=json"]. URL: http://gis01/ArcGIS/rest/services/XXXXXX/County_Cities/MapServer?f=json

Here are the server specs:
Running Windows Server 2003, Standard Edition, SP2
IIS Version 6
ASP.Net Version 2.0.50727

I've adjusted the "Periodically check and repair data connections for idle instances" inside Manager for all the operational layers, changing the defualt setting from 30 to 15 minutes, then inside the server, I changed the settings for the ArcGIS ServicesAppPool Properties, under the performance tab for idle timeouts to 30 minutes and enabled pinging every 30 minutes. That still did not solve the issue.

Here is a an example of the mapservice URL contained within my project's config.xml file:
<layer label="County - Cities" type="dynamic" alpha="0.5" visible="true"
url="http://gis01/ArcGIS/rest/services/XXXXXX/County_Cities/MapServer"/>

the application was buillt with Adobe Flash Builder 4.5 and the Flex 4.5 SDK. Have Flash Player 10.3
installed, my compiler arguments are as follows: -locale en_US -source-path=locale/{locale} -keep-all-type-selectors=true

I've tried moving the operational layers into the pre-compiled Flex Viewer 2.4 just to test and see if it was something to do with the way I was compiling, but the same error occurs with the pre-compiled version as well, which is leading me to believe that it's something to do with the IIS or Server Configuration.

I am stumped. Has anyone else battled this error with any success? If so, please share your solution and chime in with further diagnostics for me to troubleshoot. Any and all help here is much appreciated.

Thanks.
Tags (2)
0 Kudos
17 Replies
NehaS1
by
New Contributor II
Did you try loading mapserver URL from internet explorer?
0 Kudos
ChrisBente
New Contributor
Did you try loading mapserver URL from internet explorer?


Yes, Internet Explorer 8
0 Kudos
NehaS1
by
New Contributor II
same error on IE8
0 Kudos
NehaS1
by
New Contributor II
Did you check the event viewer log on the machine where the arcgis server is installed? If this is an issue with the map server then it would definitely log the error in the event viewer.
0 Kudos
LukeEvans
New Contributor
We have had this problem ourselves.  It ended up being an issue with the map services, not the Flex viewer.  Initially it happened when the rest cache wasn't cleared after a change to the services, meaning that the Flex Viewer was attempting to retrieve fields that were now hidden.

This happened in another instance relating to changes in the map services but I can't recall what was changed.  I can investigate with the team and get back to you.  Hopefully that'll give you a starting point at least, knowing that we did resolve the problem here
0 Kudos
ChrisBente
New Contributor
We have had this problem ourselves.  It ended up being an issue with the map services, not the Flex viewer.  Initially it happened when the rest cache wasn't cleared after a change to the services, meaning that the Flex Viewer was attempting to retrieve fields that were now hidden.

This happened in another instance relating to changes in the map services but I can't recall what was changed.  I can investigate with the team and get back to you.  Hopefully that'll give you a starting point at least, knowing that we did resolve the problem here


Thanks Luke, I would really appreciate that.

BTW, there are map services that have had fields hidden, but I always clear the cache when I make a change to the map service. However, clearing the cache does not seem to recitfy the situation in this case. Definitely curious to know what the other instance relating to changes in the map services that you mentioned was.

To Samham: I did check the event viewer log on the machine where the arcgis server is installed however it does appear to contain any log events regarding this issue.
0 Kudos
JarrodDoucette
New Contributor II
I'm getting the same error.  If I close the error window and go into the app I can't access the service that causes the error but the other services are fine (services are all from same server).  If I refresh the browser I don't get the error and all of the services are accessible in the app. 

It feels like a timeout issue, but I don't think that's it exactly since other services have the same setting and aren't causing problems. 

The server had secure http added a few months ago so I'm wondering if that has something to do with it (  http://forums.esri.com/Thread.asp?c=158&f=2421&t=292921  ).  I was thinking of setting security="false" on my crossdomain.xml file on the server, but I'm worried about security.
0 Kudos
JMontgomery
New Contributor
Has anyone resolved. I started getting this error one I migrated "all" of our sites to FV 2.4. Any Ideas. Once I refresh the browser errors stop.
0 Kudos
MartinSchejbal
New Contributor II
Hello,
i hat the same problem.!!
Solution is : http://viveklakhanpal.wordpress.com/tag/error-2032-stream-error/

Martin Schejbal
0 Kudos