Skip to main content
Home Forums General Silverlight Installation and Setup Help - Silverlight is only working on 1 of 4 computers!
16 replies. Latest Post by Daniel Harvey on August 21, 2007.
(0)
SWPrime
Member
18 points
10 Posts
08-04-2007 1:14 PM |
I have had some serious problems when I upgraded from Beta 1.0 to Alpha 1.1 refresh.
The most serious problem is, no matter what I do the silverlight download logo appears when I try to look at any silverlight web site. I have uinstalled/installed silverlight several times to no avail. When I uninstalled - I checked my registry and it appears all vestiges of silverlight are gone (checked for AgControl). Reinstall and everything "appears" to download and install correctly - however when I page back to the silverlight content it asks for the silverlight download again. I have taken the browser down, rebooted etc. This is happening on 1 Vista machine and 3 XP SP2 machines. I have also tried to use the RC download with the same results. There has to be some bit somewhere preventing these machines from working.
On the Vista machine I have VS Beta 2 installed - refresh SDK, Tools and Blend August.The XP machines have no development system - just a straight SL download.
This is very frustrating any help would be appreciated.
Daniel H...
Participant
1282 points
391 Posts
08-04-2007 6:26 PM |
Can you take a Process Monitor ( http://www.microsoft.com/technet/sysinternals/Utilities/ProcessMonitor.mspx ) log of IE trying to load the Silverlight content and failing and post a link to the content you are testing this with?
08-05-2007 12:25 AM |
I am testing with the following link http://silverlight.net/samples/1.1/SilverlightAirlines/Run/default.html.
The machine I took the procmon log of was my Vista development machine. I took two logs of the failure, one was accessing the SilverlightAirlines web page and the other was trying to install the Alpha refresh (via the "I accept" download page).
Here are the links to the logs:
http://www.aptnet.com/Downloads/SilverlightPageAccess.pml
http://www.aptnet.com/Downloads/SilverlightInstall.pml
If you need more information, I would be happy to provide it.
Thank you.
08-05-2007 1:57 AM |
Looks like you don't have the right permissions to HKEY_CLASSES_ROOT\AgControl.AgControl This is likely because the top level permissions are wrong and it inherited it. Can you try setting the permissions to read for everyone and try again?
08-06-2007 7:03 AM |
Daniel, thanks for your help. Well here is the story so far.
Ok, I am an administrator. When I select the AgControl.AgControl Class or AgControl.AgControl.1.0 i get:
I right click and select permissions and I get:
So I make the suggested changes and get:
This is the way alpha refresh is being installed out of the box. I have made no changes to my permissions at all ever on this machine.
I do not feel comfortable changing permissions at a higher level (HKRC) unless there would be specific instructions. Did that once, and it was a total disaster - had to go back to a system restore point.
Where can I look to see who is the owner of this class and how can I change it successfully?
Thanks.
08-06-2007 11:42 AM |
While you may not have made changes to the permissions intentionally, it's certainly possible that some other program did them for you. Which group did you try to grant read permissions to?
08-06-2007 1:24 PM |
I tried to set the permissions on the classes (AgControl.AgControl). I did not change permissions on any of the groups. Although it appears "administrators" and "users" do have read access.
08-06-2007 1:41 PM |
Is the user you are running as in either of those two groups? The fact that you couldn't read the permissions for that key suggests that you aren't. Also, in the log when it RegOpenKeys HKCR for maximum allowed access, it is granted "All Access" which suggests to me that you just have no permissions on HKCR at all (meaning anyone can read/write it). If that's the case the reason you can't read HKCR\AgControl.AgControl would be because when it inherits no permissions, but adds the creator permissions, it means only the creator can access it (in this case the creator is System). Of course it would then be strange if admins and a user had read permissions.
08-06-2007 2:14 PM |
The user I am running under belongs to "administrators". I was able to glimpse a look at the AgControl users by adding the ASPNET user to administrators. I cannot duplicate this however.
AgControl had CREATOR OWNER, SYSTEM and msiserver as its users. I cannot find "msiserver" anywhere.
08-20-2007 11:59 AM |
Has anyone else run into these security issues? How did you fix them?
08-20-2007 12:16 PM |
The problem is fixed by fixing the permissions on your registry keys. If you've already changed the permissions such that you can actually read them now and you still can't view Silverlight content, take another Process Monitor log and I'll look at it.
As far as I can tell, the reason this happens in the first place is because for whatever reason the parent of HKCR\AgControl.AgControl didn't have any permission settings whatsoever.
08-21-2007 10:52 AM |
Hi Daniel,
I fixed the permissions on the top level HKCR, but silverlight was totally inaccessible - could not even be uninstalled. So I restored my machine to a restore point and uninstalled silverlight. Fixed the permissions. Reinstalled silverlight and it worked! Several keys are still inaccessible but it appears the machine is happy - I am able to develop again. Here is a seemingly dumb question, but is there any way to access the keys that become inaccessible or is the only way to fix the registry, to go back to a fresh restore point when HKCR was not changed?
Here is the procmon of the XP machine that is still showing just the "Install Silverlight" logo after successful installation:
http://www.aptnet.com/Downloads/XP-Failure.PML
08-21-2007 12:36 PM |
I'm confused about what you mean when you say "Reinstalled silverlight and it worked!" you mean just that the installation didn't have an error right?
You access keys that you don't have access to by taking ownership and granting yourself read permissions, which you seem to have done based on your newest Process Monitor log.
Unfortunately, I don't any reason why anything should fail in this log. What sample were you using when you made this log?
08-21-2007 3:15 PM |
First, it was critical that I uninstall silverlight before I fixed the permissions. The sequence of events was:
1. uninstall silverlight2. create a system restore point3. fix permissions in the registry for HKCR4. Download silverlight alpha 1.1 refresh from the usual download page. It then installs automatically without error (this was the case before).
When I said it "worked!" I meant that I could now see actual silverlight content instead of just the "Install Silverlight Logo" again. At this point I can now develop again on my Vista machine.
The keys that are still inaccessible (get an access denied when clicked on) cannot be changed. I get an access denied when I try to save my changes.
The process monitor log that I sent you is for a different machine, it is a XP SP2 machine that mimics the same problem of just showing the "Install Silverlight Logo" no matter what I do. This appears to be a separate problem from the "permissions problem".
08-21-2007 4:01 PM |
That makes sense then. What is the URL for the page you are using that just shows install Silverlight on the XP SP2 machine? There is nothing obviously wrong in the Process Monitor log, if I had to guess, I would guess that the page hasn't been updated to have the Silverlight.js breaking changes.
08-21-2007 4:31 PM |
I am testing with the following link http://silverlight.net/samples/1.1/SilverlightAirlines/Run/default.html for the XP SP2 machine.
It appears that I am only getting the "Install Silverlight Logo" problem when I try to access managed code (Airlines Sample). The "Grand Piano" sample works (I can see the content).
08-21-2007 4:40 PM |
Are you certain this machine is upgraded to 1.1? You can check the version number by right clicking on some Silverlight content and choose "Silverlight Configuration"