Select to view content in your preferred language

Trouble with maps not loading

531
2
06-21-2010 04:44 AM
JoshuaMuse
New Contributor
Greetings. I'm writing about the same issues people have encountered whereby maps don't load. In our case, the problem always occurs first thing in the morning, and then may sporadically occur throughout the day. We're using Flex (though not the SFV) and ArcGIS 9.3, and have exported the REST endpoint.

I've checked the log files at ArcGIS\server\user\log, and though there are occasionally bursts of errors, most days show nothing.

I have tried the script shown in this thread:

http://forums.esri.com/Thread.asp?c=158&f=2276&t=228654&mc=137#812067

...which opens the REST pages in a browser. I've scheduled it for every 20 minutes, but I may switch back to the uggested 2 hours. It may be helping with the failures during the day, but not the morning - perhaps I need to give it more lead-time.

I also tried to add code that checks to see if the individual layers are loaded at applicationComplete, and refreshes them if they are not - but it doesn't seem to be making any difference.

I know this is somewhat involved and long-standing issue, but I'm wondering if anyone might have any other suggestions? Are there other logs I should be looking at, other diagnostics I might attempt, or other solutions I might try?

Thanks for your help,
Joshua Muse
Tags (2)
0 Kudos
2 Replies
JoshuaMuse
New Contributor
If anyone was curious, we figured out a partial (if inelegant) solution to our own issue, and the problem only recurs rarely at this point.

I'm not sure which portions of our process are crucial, and which are merely voodoo. We created a new stripped-down Flex map, that includes all of the layers in the real map, but nothing else. The Flex is coded to pan to the left and zoom in every 30 seconds (hopefully forcing a refreshing of all the layers), until it reaches the maximum zoom.

Alternately every twenty minutes, we have a script open this map, as well as the aforementioned script (which calls the individual REST pages). At this point, all the layers tend to appear immediately (or within a second or two) upon opening the map viewer.

Joshua Muse
0 Kudos
AndreasHoogeveen
Emerging Contributor
Hi,

It seems we have the same issue (AGS 10 though). The problem occurs both with Flex and with Silverlight. We'll give your solution (automated requests to the REST) a go. Any new insights in the meantime?

Regards,

Andreas Hoogeveen
Royal Haskoning Geosolutions
0 Kudos