Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

Silverlight doesn't work in IE 7 RSS

35 replies

Last post Jan 09, 2008 02:36 PM by eriqcook

(0)
  • Psychlist1972

    Psychlist1972

    Contributor

    6802 Points

    1079 Posts

    Microsoft

    Moderator

    Re: Re: Silverlight doesn't work in IE 7

    Jan 03, 2008 08:50 PM | LINK

    For all of you having install/run problems, is this for the 1.1 alpha, or the 1.0 release?

    If you uninstall the 1.1 alpha and run just the 1.0 release, do 1.0 sites work for you?

    The reason I ask is there's an entirely different set of issues if this is a 1.0 problem vs. a 1.1 alpha problem. 

    Pete

    Developer Community Program Manager - XAML, WPF, Silverlight, .NETMF/Gadgeteer
    10rem.net - Pete Brown's site and blog | twitter: @pete_brown
    I work for the Developer Guidance group in Microsoft. Opinions are my own.
  • Daniel Harvey

    Daniel Harvey

    Participant

    1282 Points

    391 Posts

    Microsoft

    Re: Re: Silverlight doesn't work in IE 7

    Jan 03, 2008 08:54 PM | LINK

    The problem with having no permissions on HKCR applies equally to 1.0 and 1.1, as well probably most (if not all) MSI installers that install COM objects.

  • ProjectThunder

    ProjectThunder

    Member

    20 Points

    11 Posts

    Re: Silverlight MY FINAL ANSWER

    Jan 03, 2008 08:56 PM | LINK

    The problem I see with the resolution is that there seem to be a lot of people operating normally with no permissions on the HKCR on Vista. The second I added permissions to the node which then caused all kinds of problems. I added myself and system full access. Then my audio stopped working and I started getting errors from applications and services which would no longer start. Then I added users w\ Read and then the issues went away and I still was able to use Silverlight. I am developer so I didn't mind spending 10 minutes but I can't imagine trying to solve this issue for people browsing my web site.

    My theory is that Vista does something special for users who have HKCR with no rights or it is by design to work that way. That's something you (Microsoft people) should know. Now that I have added all these permissions my machine everything works including Silverlight. The people here make a valid point why does the computer work FINE without the permissions and why does Silverlight not work when everything else does. I read online XP users who removed the rights from HKCR were locked out from their computer and had to do a restore but here I am on Vista with no rights and everything works fine.

    In general if a customer has to tweak rights to run Silverlight you’re going to have problem. In 9 years I have never had an issue to install Macromedia Flash not one time. For the team who is building the installer for this software if you want to compete successfully it has to be flawless. There has to be understanding on why there are so many users running successfully with a feature no rights on HKCR that Silverlight is not compatible with. That's not for me to figure out.  

    In any event thanks for the help. Good Luck!

     

     

  • eriqcook

    eriqcook

    Member

    22 Points

    12 Posts

    Re: Re: Re: Silverlight doesn't work in IE 7

    Jan 03, 2008 10:20 PM | LINK

    Re:

    For all of you having install/run problems, is this for the 1.1 alpha, or the 1.0 release?

    If you uninstall the 1.1 alpha and run just the 1.0 release, do 1.0 sites work for you?

    The reason I ask is there's an entirely different set of issues if this is a 1.0 problem vs. a 1.1 alpha problem. 

     

    I've only attempted to install 1.0 and have avoided 1.1 after noticing other issues related to it...

  • eriqcook

    eriqcook

    Member

    22 Points

    12 Posts

    Re: Re: Re: Silverlight doesn't work in IE 7

    Jan 03, 2008 10:30 PM | LINK

    Re:

    I totally agree that no user should have to do this, but it simply doesn't appear to be Silverlight's fault. Having no permissions on HKCR is a serious security concern, and can cause other applications to break. The only way to fix the security problem is for the user to add the appropriate permissions back to HKCR, and to fix Silverlight you should grant those same permissions to HKCR\AgControl.AgControl (after taking ownership). Silverlight can't know what permissions you wanted to have on HKCR, only what permissions you do have.

    I cannot agree 100% with this. Even though it may not be a "Silverlight issue", software/plug-ins like Adobe Flash Player have always installed just fine. I've never had problems installing other software like this. It appears that the developers of Silverlight must find a way to get around the permission issues because the average person isn't going to attempt to go into the registry to fix something. There must be a way for the Silverlight installer to avoid this issue all-together if Silverlight is going to become a standard on the web (what Microsoft's intentions is). With a brand new system and hardly any other software installed on my computer, I shouldn't be having this issue. Period. Even if it's an conflict with pre-installed HP related software, Silverlight should still work "out the box" on new computers.

  • ProjectThunder

    ProjectThunder

    Member

    20 Points

    11 Posts

    Re: Re: Re: Re: Silverlight doesn't work in IE 7

    Jan 03, 2008 10:43 PM | LINK

    If I can install all the Microsoft Expressions software tools and Adobe Flash and it all worked fine with no permissions on HKCR then there be must be some OS reach around that allows the OS to function just fine with no permissions by design. Maybe it’s a Visa thing, we don’t know why this happens but we don’t want people who pay us to develop their web site to think that Flash is better because it installs easy. Maybe it’s just these few people who have the issue but I doubt it. Being able to connect an animator to my .Net services and other .Net code is a HUGE because that stuff doesn't work well in Flash, but it won’t mean anything if it can’t install for 1\3 users.

     

  • eriqcook

    eriqcook

    Member

    22 Points

    12 Posts

    Re: Re: Re: Re: Silverlight doesn't work in IE 7

    Jan 03, 2008 10:53 PM | LINK

    Here's an update of what I've done so far.

    I changed the permissions originally and it did not make any difference in the Silverlight install/re-install. After changing the permission, I tried to uninstall Silverlight and received an error. I went back into the registry and added system and gave full permissions, then it uninstalled ok. Then I re-booted and re-installed Silverlight 1.0. Same problem.

     One thing I noticed is that after I re-installed Silverlight, the permissions apparently got wiped out again. When I went back into the registry and clicked on the AgControl key, I received the following error:

    An error is preventing this key from being opened. Details: Access Denied.

    After right-clicking on the key and selecting Permissions, I receieved the next error:

    You do not have permisssion to view the current permissions for Ag..., but you can make permissions.

    I clicked OK, added myself, Administrators and SYSTEM and gave each full control under the "Group or User Names" and clicked Apply, then received the following error message:

     Unable to Save Permission changes on AgControl.AgControl. Access Denied.

    Then, I clicked "Advanced", went to owner, and saw "Unable to display current owner" in the field. So I double-clicked on my name and checked "Replace owner or subcontainers...", and clicked ok. Then I received yet another error message:

     Unable to set new owner on Ag.Control.AgControl. Access Denied.

    So I clicked cancel. Then right-clicked on Ag.Control.Ag.Control key again, selected permissions, and somehow "OWNER RIGHTS" and "msiserver" got added into the "Group or User names" box. I didn't add those two users. SYSTEM didn't have any permissions, so I gave it full control, again. When I went back into Advanced / Owner properties, I saw that my name was in the Owner field (even though I got the error last time).

     After all of that hell, I went back and re-installed Silverlight again. No avail. I still see the "Get Silverlight" button on everything after it seemed to install ok with no errors. I've just about given up. Looks like I can no longer access on10.net or other silverlight-enabled websites until the problem is fixed. [:@]

  • Daniel Harvey

    Daniel Harvey

    Participant

    1282 Points

    391 Posts

    Microsoft

    Re: Re: Re: Re: Silverlight doesn't work in IE 7

    Jan 03, 2008 11:00 PM | LINK

    So, now if you run:
    reg query HKCR\AgControl.AgControl

    It shows you key instead of an access denied error message?

  • eriqcook

    eriqcook

    Member

    22 Points

    12 Posts

    Re: Re: Re: Re: Re: Silverlight doesn't work in IE 7

    Jan 04, 2008 03:26 PM | LINK

    Daniel Harvey

    So, now if you run:
    reg query HKCR\AgControl.AgControl

    It shows you key instead of an access denied error message?

    Yes, it does show me the key now. In the command line it returns:

    HKEY_CLASSES_ROOT\AgControl.AgControl\CLSID
    HKEY_CLASSES_ROOT\AgControl.AgControl\CurVer

    What do I do now???

  • Daniel Harvey

    Daniel Harvey

    Participant

    1282 Points

    391 Posts

    Microsoft

    Re: Re: Re: Re: Re: Silverlight doesn't work in IE 7

    Jan 04, 2008 05:55 PM | LINK

    Is that all of the output? It looks like you didn't grant yourself read permissions to its children.