Question

I recently upgraded an ASP.NET app to .NET 3.5 and switched to the newer version of the ASP.NET AJAX library.

In FireFox and IE7, everything works great, in IE6, anything that would perform a callback (Partial Refresh, or calling a PageMethod/WebMethod) throws an error:

Object Doesn't support this property or method
Line: 5175
Char: 9

Is there a known compatibility issue with .NET 3.5 and IE6?

EDIT:

I attached a debugger to IE6 and was able to find the exact line it is breaking on:

 this._xmlHttpRequest.open(verb, this._webRequest.getResolvedUrl(), true /*async*/);

It appears that IE6 is denying the permission to do "open". This is not a cross-site request, so I am puzzled. This site is currently running on a fake hostname mapped to a local server, and not on an actual domain, but I don't think that should make a difference.

EDIT: I added a bounty, this bug is still driving me nuts...HALP!

EDIT:

Solution found!

This forum post made me curious enough to search for MXSML, and sure enough, there it was, a typo in the framework library.

MsXML was typed as MXsml.

Of course, when dealing with assembly scripts, you can't do much to fix them, but I installed SP1 hoping that they were corrected there. They were...So, if you have this issue, install .NET 3.5 SP1 and it will go away.

Woo!

Was it helpful?

Solution

How are you testing in IE6? I have come across several javascript errors when you using anything but a clean install of only IE6 in conjunction with the asp.net ajax libraries. (ie. the asp.net ajax libraries don't support multiple installs of IE, or even IETester)

It is something in the IE security model that makes things go haywire when multiple version's of IE are used. You'll find that cookies won't work right either in anything but the "installed" version of IE on the system you are running.

You may also look here for some more information on multiple IE installs. If found the comments to be particularly helpful!

UPDATE I was able to dig, this up in the asp.net fourms. That's the only other thing I could find. May not be too be too helpful, but it at least sounds about like what you are hitting.

OTHER TIPS

According to MSDN IE6 is supported. Make sure that the Internet Zone in the Security Zones settings are set to Medium.

Another one from the asp.net forums

http://forums.asp.net/p/1376680/2896886.aspx

Could be caused by different versions of the XmlHttpRequest object

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top