[edited for html: dante]
for dojo 0.9:
(note: this bug is specific to dojo 0.9. dojo 0.3.x doesn't exhibit this behavior)
setting <base href="$basePath" /> (where $basepath is your correct path)
before (ie above) loading dojo.js inside the <head>
causes IE 6 to bark "Operation aborted" while loading dojo.js.
I have no idea if there is anything dojo can do about this but just in case someone bumps into this and
is looking for some help.

Please open a ticket on this (see Bug Tracking link)
and provide the code you are using that (minimal test case that causes this) does this.
Thanks!
-Karl
Seeing the edit'd post...
I believe this is a bug that was addressed back in the day... and nobdoy uses base tags really... might try searching the Trac database first before posting a bug in that case...
-Karl
It's IE specific...
This problem occurs in the dojo book too!
I am seeing this problem in my mockups AND also in the dojo book.
For instance
http://www.dojotoolkit.org/book/dojo-book-0-9/docx-documentation-under-d...
and
http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/layout/dialog
both report operation aborted and then go to the "page cannot be displayed" error page.
This happens on two seperate computers, one running Vista and IE 7 the other running Windows Server 2003 and IE 6.
Does anyone else see this problem or have a fix?
For what it is worth, other
For what it is worth, other users are seeing the same problem with the accordion sample page at http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/layout/accordion-...
as reported in http://www.dojotoolkit.org/forum/dijit-dijit-0-9/dijit-support/help-inte...
No base tag in above examples
By the way, none of the examples I have pointed to above use a Base tag - so something else is causing this error in IE 7 and IE 6.
Also - when you load just the demo HTML into a seperate page, it loads ok - so I don't think the problem is necessarily with the demoes provided - but rather with how the demo is integrated into the dojo book.
Indeed, I am now seeing this problem on almost ALL pages in the dojo book that have a demo.
In the code below for the
In the code below for the div with id "code1", on page http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/layout/accordion-..., contributing factors may include:
1. The "code1" div is explicitly parsed by the last line inside the div.
2. The last script line, which does the parsing, should not be inside the "code1" div that is being parsed by it??
3. Maybe the first script's "requires" should be outside the "code1" div.
There may be other similar code in other parts of the page or on other pages.
The above theory not tested...
Update: Just tested. Moving the last script line (parser) out of the code1 div being parsed works in IE, fails otherwise. Ticket #5482
IE Rendering issue?
So you can resolve this issue by moving the instruction to parse the div outside of the div that is being referred to. In which case, this looks to me to be an issue with IE trying to parse an object before it is loaded.
In my examples I had
parseOnLoad:true. I have commented this out, then wrapping everything in a Div with id="code1" and added the samedojo.parser.parse(dojo.byId("code1"));at the bottom.After doing this it loads correctly SOMETIMES, but not always. So, again, I believe it is related to IE trying to parse the dojo code before the object is loaded. Can anyone suggest an easy way to resolve this?
UPDATE: To test this I changed the code as follows:
dojo.addOnLoad( function(){ dojo.parser.parse(dojo.byId("code1")); } );and it seems to work every time now.
Yes, what you did is
Yes, what you did is correct. The other was my simple, quick test to see if having the parser call inside the div that it was to parse caused the problem. The IE error goes away, so it seems to be the cause of the "IE cannot load the page" error.
A separate issue is to ensure that dojo calls work (programmatically create widgets, explicitly parse elements, etc.), those calls must be in dojo.addOnLoad.
Actually
Actually, I've found that my 'solution' only works every third time I do a forced refresh in IE... which is particularly weird.
You are not seeing the IE
You are not seeing the IE "cannot display this page" error, right?
Just sometimes the div is not parsed/displayed properly, right?
Could you post, in a reply here, a very small, but complete, example html page that shows the problem you see? You will need to include your page's code within
<code>your code</code>tags. There may be something else causing what you see.