Map fails to display sometimes.

820
1
09-19-2011 09:54 PM
Labels (1)
DipinBehl
New Contributor
Hi,
I am using ArcGIS map in my WPF application on two forms.
On the first form, i get the coordinates from the database and show them on the map. It works just as expected, the first time. But when I close and reopen the form, the map disappears. The subsequently closing and reopening of forms results in the map being displayed and not displayed randomly, but with the code behind working perfectly.
Also when I then open the second form from a button on the first screen, the map loads to show this address. But again, on another development machine, the second forms behaves the same as first form with randomly displaying and not displaying the map. In fact, this behavior varies on all development machines, with all most all of them having the same configuration.
Also, in my WCF web service layer, from where I retrieve the addresses from database, interact with the ArcGIS service to get addresses and coordinates etc, i am using a caching technique using CahceManager class implemented using postsharp.
Has this caching got to do something with this behavior because commenting the Cache attribute sets the behavior correct on some of the development machines.
Any help is greatly appreciated. Thanks.
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
I'm not sure if you are encountering this issue: http://forums.arcgis.com/threads/23383-WPF-Application-Get-HTTPS-Mapserver. If the solution posted here did not solve your problem, could you share us some code and/or steps to reproduce the issue?

Thanks.
0 Kudos