Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Hazardous map error during viewer loading #164
Sometimes, we encounter the following error during loading of the viewer for flex (last case encountered with a viewer 3.4)
La couche Points de Vigilance n’a pas été chargée : Code d’erreur : Server.Error.Request
It appears both regarding basemaps but also on operational layers (Mapserver, FeatureServer…). The trouble is NOT permanent (!). Moreover a simple refresh (F5) is enough to cancel this error.
In viewers for flex <=2.5, we made some (dirty) modifications in the \src\com\esri\viewer\managers\MapManager.mxml file to do N attempts delayed of M milleseconds (N and M defined in the config.xml file) in case of failed load. Unfortunately, this correction is not effective with a viewer 3.x
Do you have any idea on what to do to correct this ?
Thank you in anticipation !
I would recommend contacting Esri Support - http://support.esri.com for help with debugging the server issue. The Flex API and Viewer forum is another great place for getting practical help from users which might have had similar issues. If the server problems can't be fixed, either Support or Forum might be able to help migrate your 2.x workarounds.
Thank you for your reply.
Maybe you are right, but we have this problem on a lot of different platforms, with different server configurations and viewers for flex… When it occurs, it is always when the viewer contains many services (>5). And without any error on the server side.
We found a similar post on the “ArcGIS Viewer for Flex” forum but without a fully satisfying response:
The workaround with delayed attempts we have implemented on the Viewer <=2.5 solved the problem: the error never reappeared. That’s why we tried to carry out an equivalent modification with viewers >2.5. But having difficulties to do so, and not being the only one to encounter this bug, we thought best to turn to you.