Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Browser Refresh Needed to SilverLight App to work

0 views
Skip to first unread message

Tony/SwBlind

unread,
Apr 27, 2009, 8:47:01 AM4/27/09
to
I have been creating some Silverlight movie apps in Encoder published to
Silverlight Streaming site and have noticed that sometimes I have to refresh
the page to get the page to load. Page is here:

http://www.purcellsinaustin.com/2009_ROTC_InterFlight_Silverlight_App.html

I have used IE8 to find the error and is says the following:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64;
Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR
3.5.30729; .NET CLR 3.0.30618; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)
Timestamp: Mon, 27 Apr 2009 12:41:13 UTC


Message: 'Microsoft' is undefined
Line: 4
Char: 1
Code: 0
URI: https://controls.services.live.com/scripts/base/v0.3/controls.js

Now after receiving the page error, I can relaod the page and all works
great. If someone goes to the page and does not hit refresh, they see
nothing.

Where do I fix this problem?

Any help would be appreciated.

Tony

Neil Smith [MVP Digital Media]

unread,
Apr 27, 2009, 2:23:21 PM4/27/09
to
Possible timing issues ?

Microsoft.Live.Platform.blah is listed in both of the included scripts
on the web page (which is conveniently simple) so I can only imagine
the scripts don't completely load in time to run the silverlight
control.

My experience was a more or less empty page (but no javascript
errors), then I reloaded it and got the 'silverlight not installed' on
this PC - which is correct. I tried Firefox 3 for this without error -
but *did* trigger an error in IE6, so it looks like a finger point at
MS's old browsers here.

So I'd try first the defer="defer" attribute on the script elements :
http://www.quirksmode.org/js/placejs.html

and if that doesn't change things, try putting the two script tags at
the every end of your HTML, just before the closing </body> tag -
though really they should be fine and it's correct to put them in the
head, stranger things have happened at sea...

HTH
Cheers - Neil

------------------------------------------------
Digital Media MVP : 2004-2009
http://mvp.support.microsoft.com/mvpfaqs

Tony/SwBlind

unread,
Apr 28, 2009, 7:41:01 AM4/28/09
to

Neil:

Thanks for the response. I tried both methods you discussed and neither
seemed to make a real difference. I still get the issue especially when I
have no cookies from a previous visit to the page. I do appreciate the help
though.

Thanks,

Tony

0 new messages