Thanks for that.
I've reproduced the problem and it seems to be the onError attribute.
As I mentioned previously, I am doing a custom install experience.
It seems that if the client machine already has 2.0.40115.0 or
2.0.31005.0 (and perhaps others), and you have the configuration
following, IE crashes. Firefox works fine :
<param name="onError" value="onSilverlightError" />
<param name="autoUpgrade" value="false" />
Jscript:
function onSilverlightError(sender, args) {
if (args.ErrorCode == 8001) {
try {
document.getElementById("silverlightControlHost").innerHTML =
PromptUpgrade;
}
catch (err) { }
}
else {
A while ago I figured out that the following event is not always fired,
and that you have to handle the 8001 error, which also indicates an
upgrade is required.
Silverlight.onUpgradeRequired = function() {
document.getElementById("silverlightControlHost").innerHTML
= PromptUpgrade;
};
I am now trying to work out if a different error code is being
generated.
Does anyone have any ideas?
From: Tim Heuer [mailto:[email protected]]
Sent: Wednesday, 11 November 2009 1:59 AM
To: ozSilverlight
Subject: RE: Old silverlight runtime installers
You can find installers to previous versions listed here:
http://go.microsoft.com/fwlink/?LinkID=92598
-th
Tim Heuer | (602) 405-4567 | Microsoft Silverlight
blog: http://timheuer.com/blog/ <http://timheuer.com/blog/> | twitter:
@timheuer <http://twitter.com/timheuer>
From: [email protected]
[mailto:[email protected]] On Behalf Of Ross
Jempson
Sent: Monday, November 09, 2009 10:06 PM
To: ozSilverlight
Subject: FW: Old silverlight runtime installers
Hi there,
We are deploying a SL 3 app and had IE crash on a few machines which had
old versions of SL installed, there was a non-descript error from
agcore.dll . It happened on both ie6 and ie7.
The problem versions seem to be :
- 2.0.31005.0
- 2.0.40115.0
I want to diagnose the problem further, and to start I would like to be
able to install those versions on a test machine. However I don't seem
to be able to find the installers on the web.
I tried passing the relevant version numbers , eg
http://go.microsoft.com/fwlink/?LinkID=149156&v=2.0.31005.0 however it
serves me up SL 3.
Also, the problem doesn't surface if I do a simple default SL
application, with AutoUpgrade=true. I am doing a custom upgrade
experience.
It might not be the cause, but I have
autoUpgrade = false
And I am using the following additional attributes above the default
template:
initParams
onLoad
AllowHtmlPopupWindow
Windowless - false
EnableRedrawRegions - false (I can remove this one it was just for
testing)
Splashscreensource
onSourceDownloadProgressChanged
I was going to test to see if any of these was the cause, but can't do
it without first installing the older versions.
Cheers.
Ross
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight