This question is locked. New answers and comments are not allowed.
Hi,
We are facing a strange problem. We have an application that uses map control. We are using kml files (zipped package) to read the map information. What we have done is placed the kml file as a zipped package and asynchronously read the package in a stream using webclient. And we have read the kml file informations from the zipped package using kmlreader to return the list of frameworkelement and later on typecast to map polygon and added that to the informationlayer later on used to draw the map.
We have deployed the application in two servers.
1.One in our local server (has public IP). There the application runs smoothly and when map control is displayed it works perfectly.
2. And we have deployed the same application in another server and it is in Europe. Now when we display the map control the map simply does not load.
I tried to trace the problem point and found out that kmlreader returns the list count 0 (simply kmlreader is not working) in the case of 2nd server.Whereas the first server same line of code returns the map polygon successfully.
What can be the cause of the problem? Probably some security issue?. I already have crossdomain policy file in place.
Thank you.
Manish
We are facing a strange problem. We have an application that uses map control. We are using kml files (zipped package) to read the map information. What we have done is placed the kml file as a zipped package and asynchronously read the package in a stream using webclient. And we have read the kml file informations from the zipped package using kmlreader to return the list of frameworkelement and later on typecast to map polygon and added that to the informationlayer later on used to draw the map.
We have deployed the application in two servers.
1.One in our local server (has public IP). There the application runs smoothly and when map control is displayed it works perfectly.
2. And we have deployed the same application in another server and it is in Europe. Now when we display the map control the map simply does not load.
I tried to trace the problem point and found out that kmlreader returns the list count 0 (simply kmlreader is not working) in the case of 2nd server.Whereas the first server same line of code returns the map polygon successfully.
What can be the cause of the problem? Probably some security issue?. I already have crossdomain policy file in place.
Thank you.
Manish