Internet Explorer cannot display the webpage

Hello.

Well I finished my integration of VE .

I have my map inside a LiteralControl in my aspx page.. Well everything works on FIREFOX. with IE 7 and 6 I get the Error:

Cannot open the Internet Site http:....
Operation aborted

This page is runing under MOSS 2007 .

The page is almost completely loaded since I even get back the Callback function from the RSS Load.

Here my code
<script src='http://dev.virtualearth.net/mapcontrol/v4/mapcontrol.js'></script>
<div id='myMap' style='position:relative; width:600px; height:400px;' ></div>
<script type='text/javascript'>
var map = null;
var layerid=1;
function GetMap()
{
map = new VEMap('myMap');
map.onLoadMap = FindSwitzerland;
map.ShowDashboard();
map.LoadMap();
DrawPoly();
AddMyLayer();
}
function AddMyLayer()
{
var veLayerSpec = new VELayerSpecification();
veLayerSpec.Type = VELayerType.GeoRSS;
veLayerSpec.ID = layerid;
veLayerSpec.LayerSource = 'http://mysite/output/GeoMapRSS.xml';
veLayerSpec.Method = 'get';
veLayerSpec.FnCallback = onFeedLoad;
map.AddLayer(veLayerSpec);
layerid++;
}
function onFeedLoad(feed)
{
alert('RSS loaded. There are '+feed.length+' items in this list.');
}

function DrawPoly()
{
//Draw a rectangle arround switzerland
var points = new Array(
new VELatLong(47.85003078545827, 5.844726562500008),
new VELatLong(47.85003078545827, 10.63476562500001),
new VELatLong(45.79816953017264, 10.63476562500001),
new VELatLong(45.79816953017264, 5.844726562500008),
new VELatLong(47.85003078545827, 5.844726562500008)
);

poly = new VEPolyline('1',points);
poly.SetWidth(3);
poly.SetColor(new VEColor(0,150,100,100));
map.AddPolyline(poly);
map.SetMapView(points);
}
function FindSwitzerland()
{
map.FindLocation('Switzerland,Europe')
}
GetMap();
</script>

the GeoMapRSS.xml may become a big file (depending on some search conditions)but it looks like this

<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">
<channel>
<title>B2BTargeting</title>
<link/>
<description>B2BTargeting Suchrsultate</description>
<item>
<title>Gefundene Firmen unter PLZ 2500</title>
<description><![CDATA[Adri AG<br/>Amabala SA]]</description>
<geo:lat>47.133609999999997</geo:lat>
<geo:long>7.2477780000000003</geo:long>
</item>
<item>
<title>Gefundene Firmen unter PLZ 2504</title>
<description><![CDATA[Abatrag AG<br/>Andres AG]]></description>
<geo:lat>47.145556999999997</geo:lat>
<geo:long>7.2619439999999997</geo:long>
</item>
...

...

</channel></rss>

Any Ideas

[3342 byte] By [CodeHacker] at [2007-12-27]
# 1
Sorry for that... Found the solution under the thread
.Net Web Control + Operation Aborted
CodeHacker at 2007-9-4 > top of Msdn Tech,Windows Live Developer Forums,Virtual Earth: Map Control Development...

Windows Live Developer Forums

Site Classified