Page view counter
Error 1502 - A newer Version of Silverlight is installed on this machine Subscribe to this thread
Last post 07-31-2007 10:45 PM by WynApse. 16 replies.
Sort Posts:
07-31-2007 7:09 AM
Error 1502 - A newer Version of Silverlight is installed on this machine

Everything was fine until I rebooted last night.

When I went to my site, I got the graphic to d/l SL again... I had this experience before, and it's no big deal, right? So I do it... and after the install churns for a bit, I get this:

 Error 1502 - A newer Version of Silverlight is installed on this machine

 newer than the RC1?

Anybody have any ideas... seems ironic in a way that I can't run on my development machine...

-Dave

Stay in the 'Light
MVP: Visual Developer - Client Application Development
http://www.wynapse.com
Twitter SLNews | Join me @ SilverlightCream | SL Web Articles | My Articles | My Tutorials | My Tooltips | SilverlightCream

WynApse

Loading...
Joined on 05-13-2004
Posts 341
07-31-2007 7:27 AM
Re: Error 1502 - A newer Version of Silverlight is installed on this machine

Do you have the 1.1 Alpha on installed on your system?

If I remember correctly, I got a similar error because I had the 1.1 Alpha installed and I was trying to install the 1.0 over it.

- Farzin

ffara

Loading...
Joined on 07-27-2007
Posts 1
07-31-2007 7:35 AM
Re: Error 1502 - A newer Version of Silverlight is installed on this machine

I have the run-time for Alpha installed ... did it AFTER the RC1 over the weekend.

But it popped up this morning after a reboot wanting the RC1 again.

Seems I had to keep reinstalling the last release for a while until it 'stuck' ... but at least I could install it... this one won't let me.

Anybody know all the registry hacks to remove traces of older versions?

-Dave

Stay in the 'Light
MVP: Visual Developer - Client Application Development
http://www.wynapse.com
Twitter SLNews | Join me @ SilverlightCream | SL Web Articles | My Articles | My Tutorials | My Tooltips | SilverlightCream

WynApse

Loading...
Joined on 05-13-2004
Posts 341
07-31-2007 9:42 AM
Marked as Answer
Re: Error 1502 - A newer Version of Silverlight is installed on this machine

I'm confused now...

Someone sent me an updated link for an Alpha 1.1 sample to preview for Silverlight Cream. When I opened it, it wanted to install the Alpha bits AGAIN... are we seeing a pattern? ... I'd already done this on Saturday.

So... I installed it again.

The install ran fine, and then without even restarting the browser... I no longer get the RC1 download box on RC1 pages...

Go Figure...

-Dave

Stay in the 'Light
MVP: Visual Developer - Client Application Development
http://www.wynapse.com
Twitter SLNews | Join me @ SilverlightCream | SL Web Articles | My Articles | My Tutorials | My Tooltips | SilverlightCream

WynApse

Loading...
Joined on 05-13-2004
Posts 341
07-31-2007 11:10 AM
Re: Re: Error 1502 - A newer Version of Silverlight is installed on this machine

This appears to be quickly turning into a major issue......

I now find that my online and development examples of Silverlight, previously using 1.0 Beta, are now asking for RC1 [no problem with that....]

BUT

a) There is no effect.
b) I am repeatedly being returned to the same download request.

I have tested this on both IE7 and Mozilla [Both on Vista] and this occurs.

XP+SP2 + IE6.. and I wasn't asked for the update.

Is this problem being looked at by the Silverlight Team... seems quite important :)

 

CTOSian

Loading...
Joined on 09-24-2002
North Wales, UK
Posts 13
07-31-2007 11:17 AM
Re: Re: Error 1502 - A newer Version of Silverlight is installed on this machine

It's not clear to me what your problem is. You have some Silverlight content which you developed but doesn't work?

What happens if you go to this site: http://www.microsoft.com/silverlight/install.aspx ? If you see "Thank you for installing
Microsoft Silverlight 1.0 Release Candidate!" Silverlight should be correctly installed. If you don't see that text, have you installed the RC, did it complete without errors (it closes automatically if that's the case)?

 If you have the 1.0 RC installed can you run reg query HKLM\Software\Microsoft\Silverlight and post the output to verify the version is right?

Daniel Harvey

Loading...
Joined on 05-01-2007
Posts 391
07-31-2007 12:30 PM
Re: Re: Error 1502 - A newer Version of Silverlight is installed on this machine

I can't speak for the other poster, but since I am the original poster, I can tell you exactly what I did although I am away from the machine and can't get you registry settings, plus the fact that it's now working, as this thread also relates.

 So what I did..and I'm only talking about Beta ... I have no Alpha code on my site, but have had the run-time installed so I could be a consumer of the Alpha.

I've been running this through successive installs since the December CTP. Most lately, of course, I was running whatever had been the latest release.

Friday night when I got home, I installed the RC1 run-time no problem... got to the thankyou screen just fine.

I downloaded the SDK and began fixing up the breaking changes on my site ... something like 38 canvases worth across 34 pages. This was done early Saturday and life was good. I could run things locally, I could run my site, I could run other people's sites. I could also view people's Alpha sites.

Then I think it was Monday morning just before leaving for work, I rebooted the box, so had no chance to see any effects of that until I got home last night.

When I tried to run my site, I got the graphic telling me I needed the RC. Thinking something happened during the reboot, I took the install path and got a failure saying "a newer version" was installed. This happened twice. I also restarted the browser to see if it would matter and it didn't.

I tried to run someone's Alpha page that had been updated to the new bits and got the message to install that as well, so I did.

Once I installed the new Alpha bits (again ... remember I had them installed at least by Saturday), then the RC started working for me, without even restarting the browser. 

So there's some interplay between the two in the registry I guess.

All you have to do is look at my site to see I'm firmly in the Silverlight camp, but the install could use some tweaking :)

-Dave

Stay in the 'Light
MVP: Visual Developer - Client Application Development
http://www.wynapse.com
Twitter SLNews | Join me @ SilverlightCream | SL Web Articles | My Articles | My Tutorials | My Tooltips | SilverlightCream

WynApse

Loading...
Joined on 05-13-2004
Posts 341
07-31-2007 12:40 PM
Re: Re: Re: Error 1502 - A newer Version of Silverlight is installed on this machine

Well it seems that my 1.0 RC1 is installed correctly [Regedit output is 1.0.20724.0 ] and as you suggest, I get the "Thank you" message.

All of which suggests the problem is at my end! :)

For clarity, my problem is this:

Prior to the release of RC1, I had a webpage with a Silverlight insert in it that worked fine. When RC1 was released, I downloaded that onto my dev machine, having removed all earlier versions.

The website now asks for Alpha again, so I assume that is a function of the version of Silverlight.js on the website server. I changed that to the latest version and removed the "Sys." prefix in the [equivalent of the] CreateSilverlight.js file as suggested in the "Breaking Changes" rtf. in the SDK.

The website continues to ask me to download the Alpha version......

 

PS. Dave. It seems my problem differs from your - sorry to gatecrash your thread! :)

CTOSian

Loading...
Joined on 09-24-2002
North Wales, UK
Posts 13
07-31-2007 1:06 PM
Re: Re: Re: Error 1502 - A newer Version of Silverlight is installed on this machine

Your problem only differs in that you are able to get all the way to the thank you screen... you're still getting multiple install notices.

To see if your run-time is working, can you hit someone else's SL site and not get the prompt to install? for instance, any of my pages, or simply the home page: http://www.wynapse.com

if you can get there and see the spinning logo, then your run-time is good and the problem might be with your page needing some more debugging :)

-Dave

Stay in the 'Light
MVP: Visual Developer - Client Application Development
http://www.wynapse.com
Twitter SLNews | Join me @ SilverlightCream | SL Web Articles | My Articles | My Tutorials | My Tooltips | SilverlightCream

WynApse

Loading...
Joined on 05-13-2004
Posts 341
07-31-2007 1:23 PM
Re: Re: Re: Re: Error 1502 - A newer Version of Silverlight is installed on this machine

Dave,

Yes, you're right. I can see your spinning logo [Which is cool - any chance that that is available? it's a great way to advertise the technology....].

What I haven't got my head round yet is that if the download is OK - why don't I simply get an error condition on my page rather than no indication that anything has happened at all?

CTOSian

Loading...
Joined on 09-24-2002
North Wales, UK
Posts 13
07-31-2007 1:31 PM
Re: Re: Error 1502 - A newer Version of Silverlight is installed on this machine

"I could also view people's Alpha sites."

...

"When I tried to run my site, I got the graphic telling me I needed the RC. Thinking something happened during the reboot, I took the install path and got a failure saying "a newer version" was installed. This happened twice. I also restarted the browser to see if it would matter and it didn't."

The first statement suggests to me you actually had the Alpha installed, so it's not surprising you would get the newer version error message if you try to install the RC on top of it (the Alpha refresh is version 1.1 and the RC is version 1.0). What is strange is that you would get a graphic to download the RC again. It's clear why that would happen, is it possible the sample was using an out of date silverlight.js? Without being able to reproduce the getting the RC graphic inappropriately it's not clear what is broken.

Daniel Harvey

Loading...
Joined on 05-01-2007
Posts 391
07-31-2007 2:27 PM
Re: Re: Error 1502 - A newer Version of Silverlight is installed on this machine

I understand what you're implying but...

I CLEARLY installed the RC first, and then downloaded the RC SDK, and went about fixing all my site issues. During that time, I was not only running RC code locally, but also uploading to my site and testing over the web, so all the RC paths had been fully functional from Friday night through late Sunday.

Dave Note: When I wrote this, I didn't realize the Alpha bits contained the Beta RC

I can't say for sure when it was, but at some point during the weekend, I had looked at some Alpha sites. I have not built any Alpha, and I have not downloaded the SDK for *any* Alpha versions, just the runtime.

Installing the latest Alpha run-time had zero effect on my being able to run the RC locally or across the web and I know that because the last thing I was doing Sunday night was working on a new SL application.

It wasn't until the reboot Monday morning that things went badly. I was simply trying to hit my site and it acted like I was out of sync with it.

So yes, I did have the RC run time installed and yes I had the Alpha run time installed...

More pre-convergence-knowledge comments: 

I don't understand why "it's not surprising I would get a new version error"?? Your implication has me now confused as to how this is being separated in the registry.

I have Visual Studio 2003 installed and it is some version number.

I also have Vusual Studio 2005 installed at it's version number.

Both are "Visual Studio", but the 2003 version doesn't get confused that there's a newer "version" on the machine, so why should the SL Alpha get in the way of the RC? ... if that were the case, I would be forced to pick one and only one to work in, and I think everyone knows that's just not true.

I also disagree that "it's clear why that would happen".

To be just 100% sure of my statements, I've downloaded silverlight.js from my site where I rebuilt it to on Friday night:

http://www.wynapse.com/js/silverlight.js

AND ... I've installed the RC SDK on this machine just now.

I diffed the silverlight.js file from my site with the one in the SDK and they're an exact match... so I didn't poot an upload or something. 

so I'd say that all my 'sample' code is using the latest silverlight.js

Considering the fact that the folks that are logging in here are the ones very interested in Silverlight, and trying hard to use it, and considering the number of people "getting the RC graphic inappropriately", I'd say it should be quite easy to find someone to get registry values from. In my case, I just happened to stumble upon a way to get it back to working.

-Dave

 

Stay in the 'Light
MVP: Visual Developer - Client Application Development
http://www.wynapse.com
Twitter SLNews | Join me @ SilverlightCream | SL Web Articles | My Articles | My Tutorials | My Tooltips | SilverlightCream

WynApse

Loading...
Joined on 05-13-2004
Posts 341
07-31-2007 2:55 PM
Re: Re: Error 1502 - A newer Version of Silverlight is installed on this machine

"So yes, I did have the RC run time installed and yes I had the Alpha run time installed... I don't understand why "it's not surprising I would get a new version error"?? Your implication has me now confused as to how this is being separated in the registry.

I have Visual Studio 2003 installed and it is some version number.

I also have Vusual Studio 2005 installed at it's version number.

Both are "Visual Studio", but the 2003 version doesn't get confused that there's a newer "version" on the machine, so why should the SL Alpha get in the way of the RC? ... if that were the case, I would be forced to pick one and only one to work in, and I think everyone knows that's just not true."

You can not install the RC and the Alpha at the same time. If you install the Alpha after installing the RC, the Alpha will replace the RC (which is fine because the Alpha can do everything the RC can do and more). If  you install the RC after installing the Alpha, you will get an error saying you can install an older version on to a newer version.

As for the problem with the graphic, I haven't seen a post where anyone has problems consistantly with scenarios that are known to be good. Perhaps the documentation could be better, but right now there doesn't seem to be anything wrong with the installer. Things are particularly confusing now because of the breaking changes that just happened I think.

Daniel Harvey

Loading...
Joined on 05-01-2007
Posts 391
07-31-2007 2:57 PM
Re: Re: Re: Re: Error 1502 - A newer Version of Silverlight is installed on this machine

Hi CTOSian...

If you're seeing the SL on my site, and others that have updated them as well, then your run-time is good... and that's a good thing! ... you're partway there :)

You mentioned getting a message about needing the Alpha install, and I was unsure if that was from your own page locally, or where.

So the next step would be to find out exactly where you're getting the reinstall query... is it RC or Alpha and is it locally or from a site?

-Dave

Stay in the 'Light
MVP: Visual Developer - Client Application Development
http://www.wynapse.com
Twitter SLNews | Join me @ SilverlightCream | SL Web Articles | My Articles | My Tutorials | My Tooltips | SilverlightCream

WynApse

Loading...
Joined on 05-13-2004
Posts 341
07-31-2007 7:04 PM
Re: Re: Error 1502 - A newer Version of Silverlight is installed on this machine

After some off-forum discussions, I now understand that we've fully made the transition into Alpha and Beta merging. That was not clear to me prior to an hour ago, hence my confusion on the two.

That does not alleviate the stress to a possible end-user of the situation I had this morning, however, when neither the Alpha or Beta wanted to run, but when I installed the Beta (since I saw it first), it wasn't smart enough to know the Alpha was on-board, or use it until the install was almost done, then complained.

In the interests of trying to assist... I will reboot that puppy when I get home. IF it fails similarly to the way it did this morning, what do you want me to report back to you that would be useful?

-Dave

Stay in the 'Light
MVP: Visual Developer - Client Application Development
http://www.wynapse.com
Twitter SLNews | Join me @ SilverlightCream | SL Web Articles | My Articles | My Tutorials | My Tooltips | SilverlightCream

WynApse

Loading...
Joined on 05-13-2004
Posts 341
07-31-2007 8:54 PM
Re: Re: Error 1502 - A newer Version of Silverlight is installed on this machine
If your Silverlight content is failing to load, and you are pretty sure Silverlight is installed correctly (and the page is set up corrently), the most useful thing is a Process Monitor ( http://www.microsoft.com/technet/sysinternals/Utilities/ProcessMonitor.mspx ) log of Internet Explorer as you load the page. It can also be useful to launch the page in Firefox since it loads the control differently.
Daniel Harvey

Loading...
Joined on 05-01-2007
Posts 391
07-31-2007 10:45 PM
Re: Re: Error 1502 - A newer Version of Silverlight is installed on this machine

Thanks Daniel...

I rebooted and fortunately or unfortunately depending upon what I was hoping for, everything came up just fine :)

Maybe next time...

-Dave

Stay in the 'Light
MVP: Visual Developer - Client Application Development
http://www.wynapse.com
Twitter SLNews | Join me @ SilverlightCream | SL Web Articles | My Articles | My Tutorials | My Tooltips | SilverlightCream

WynApse

Loading...
Joined on 05-13-2004
Posts 341
Microsoft Communities