Many thanks to Christopher Schmidt. Using the defer="defer" attribute in the initialisation script solved the problem.<br><br>The page loads OpenLayers.js and another script for loading Virtual Earth services. Then there is an initialisation script in the page. Then there is a div tag for the map. Finally, the block of script that calls the initialisation has the defer attribute in the script tag, as in <script defer="defer">.<br><br>Since I need this to work independent of the onload event of the body tag, and do not have the luxury of loading other scripts in the head tag, using defer is essential to this working properly in IE with JSF.<br><br>Once again, many thanks Christopher.<br><br>Mike Quentel<br><br><b><i>Christopher Schmidt <crschmidt@metacarta.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On Wed, Nov 29, 2006 at 02:33:35PM -0800, Mike
Quentel wrote:<br>> Using JSF (developed using IBM Rational Software Architect), Websphere, and OpenLayers.js library. The application uses the Microsoft Virtual Earth layer. This all works just fine in Mozilla Firefox (of course), but unfortunately, I get the following error when attempting to access the same page in IE 6.0.2x:<br>> <br>> "Internet Explorer cannot open the Internet site http://.... Operation aborted."<br>> <br>> Has anyone else encountered this sort of behaviour? Any ideas on how to solve this? Seems to only happen when I use a template file from RSA (*.htpl).<br><br>Copying the HTML of your page somewhere would be helpful in this regard.<br>My first guess is that you are attempting to use some Javascript which<br>is not yet loaded -- when using Google Maps I've seen this problem when<br>I don't put a defer='defer' on external scripts which are attempting to<br>do things with the Google Maps API before it's actually
loaded.<br><br>However, most of the OpenLayers examples only run code in <br>onload="init()">, in which case this shouldn't be a problem. If you're<br>not running your code onload and might have it in the body of your page,<br>this might explain your problem.<br><br>Unfortunately, debugging this particular kind of error is quite hard,<br>but maybe you could put up an example HTML page that fails in order to<br>help investigation of this issue. <br><br>Regards,<br>-- <br>Christopher Schmidt<br>MetaCarta<br></blockquote><br><p> 
<hr size=1>Want to start your own business? Learn how on <a href="http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/r-index">Yahoo! Small Business.</a>