Skip to main content
Home Forums General Silverlight Installation and Setup *Possible fix* for bug where SL2 works with FireFox but not IE
8 replies. Latest Post by andy729 on June 6, 2009.
(0)
quil
Member
10 points
14 Posts
11-19-2008 12:36 PM |
*Possible fix* for bug where SL2 works with FireFox but not IE
After working with a friend on this issue for the last 3 weeks we have found a possible bugfix for a specific configuration issue. *THIS DOES NOT FIX INSTALL ISSUES; It only fixes issues where Silverlight 2 is correctly installed, runs with Firefox 3 but fails to run in IE.
Our testing has found the issue maybe related to a security permission issue with HKCR top-level not being set at all. To check and see if your problem is related to the security permission follow these steps (We will be reading the Windows Registry but not making any changes to it during this test).
run regedit.exe as administrator. look for HKEY_CLASS_ROOT and Expand. look for an entry for "AgControl.AgControl" and try to expand it. If you get an error about not having permissions to read the key then your system has the issue described above. Run the following steps through your system and it *should* resolve the issue.
We have been successful at fixing 3 of our computers thus far. We would like to have someone else with this issue double-check our work and see if it resolves other peoples problems. If it does maybe Microsoft should check into this.
Bugfix steps:
** THIS WILL REQUIRE MODIFYING THE WINDOWS REGISTRY. WE WILL DIRECT YOU TO MAKE A RESTORE POINT IN A MOMENT. PLEASE BE SURE YOU DO SO. **
1. If Silverlight 2.0 RTW, Silverlight 2.0 Developer Runtime, Silverlight 2.0 Developer Tools or, Microsoft Express Blend (any version) is installed, uninstall them before continuing. (Required in order for these steps to work correctly).
2. Restart your computer
** CREATE A RESTORE POINT AT THIS TIME **
3. Open regedit.exe as administrator.
4. expand HKEY_CLASS_ROOT.
5. Right-click HKEY_CLASS_ROOT and choose "New > Key". Type the name "AgControl.AgControl".
6. Right-click "AgControl.AgControl" and choose "New > Key". Type the name "CLSID".
7. Right-click "AgControl.AgControl" and choose "New > Key". Type the name "CurVer".
8. Right-click "AgControl.AgControl" and choose "Permissions...". Click the Advanced button.
9. Under the "Permissions" Tab uncheck "Include inheritable permissions from this object's parent".
10. Under the "Permissions" Tab CHECK "Replace all existing inheritable permissions on all descendants with inheritable permissions from this object". Chick Apply and ok.
11. Under "Security" tab click Add. Type "SYSTEM; Administrators; Users" then choose ok.
12. Under "Security tab click SYSTEM. Under "Permissions for SYSTEM" check Full Control.
13. Under "Security tab click Administrators. Under "Permissions for Administrators" check Full Control.
14. Under "Security tab click Users. Under "Permissions for Users" check Read.
15. Click Apply and ok.
16. Right-click HKEY_CLASS_ROOT and choose "New > Key". Type the name "AgControl.AgControl.2.0".
17. Right-click "AgControl.AgControl.2.0" and choose "New > Key". Type then name "CLSID".
18. Right-click "AgControl.AgControl.2.0" and choose "Permissions...". Click the Advanced button.
19. Under the "Permissions" Tab uncheck "Include inheritable permissions from this object's parent".
20. Under the "Permissions" Tab CHECK "Replace all existing inheritable permissions on all descendants with inheritable permissions from this object". Chick Apply and ok.
21. Under "Security" tab click Add. Type "SYSTEM; Administrators; Users" then choose ok.
22. Under "Security tab click SYSTEM. Under "Permissions for SYSTEM" check Full Control.
23. Under "Security tab click Administrators. Under "Permissions for Administrators" check Full Control.
24. Under "Security tab click Users. Under "Permissions for Users" check Read.
25. Click Apply and ok.
26. Close Regedit.exe
27. Install Silverlight 2.0 RTW (Not developer Tools or Blend).
28. Once installed close any open Internet Explorers and reopen IE to www.silverlight.net/Showcase. If you can get the showcase to appear then it's working. You should be able to install Silverlight 2.0 Developer tools and blend.
If you are successful or unsuccessful please report back.
*MICROSOFT: This seems to be related to a permission problem in the top-level HKCR where it does not have any set permissions at all; If you remove your inheritance dependancy during your installation it may resolve the problem.*
11-20-2008 9:32 AM |
We found a quicker way of resolving the issue.
1. Uninstall, Silverlight, Silverlight Tools, Microsoft Expression Blend (All Versions) (Required for these steps to work correctly).
2. Open Regedit.exe as an administrator.
3. Locate HKEY_CLASS_ROOT and select it.
4. Right-click HKEY_CLASS_ROOT and choose "Permissions...".
5. Under "Group and user names:" there will be a warning about not having any permissions set. Click "Add..."
6. Type "SYSTEM; Administrators; Users". Click OK.
7. Select "SYSTEM". Under Permissions for SYSTEM check "Full Control".
8. Select "Administrators". Under Permissions for Administrators check "Full Control".
7. Select "Users". Under Permissions for Users check "Read".
8. Click Apply and ok.
9. Close Regedit.exe
10. Reinstall Silverlight 2.0 RTW and test with www.silverlight.net/Showcase
Like before, let us know what works and what doesn't.
Thanks!
Jonathan...
All-Star
24979 points
2,434 Posts
11-25-2008 3:20 AM |
Hi Quil,
Thanks for your solutions. I have installed Silverlight several times and never met this kind of problems. However, I will suggest our community members to test it in the case of facing similar problems. Now, we need to mark this thread as resolved, thanks for understanding.
Best regards,
Jonathan
11-25-2008 10:46 AM |
I noticed it seems to fit a very specific condition. Not sure why the condition would exist (I am more sold of it being the OS causing it, not SL2) but it seemed to fix all 7 of our PC that fit the condition. Anyways I hope our research can help others, even if it's a select few.
transura...
24 points
7 Posts
12-06-2008 6:29 PM |
After trying everything else posted on the forum, with all of it unsuccessful, the link that Quil posted finally worked for me
I followed instruction set 1 because I did not want to grant those permissions to everything in the Class registry.
Here are my particulars. I have Vista Ultimate with SP1 built in to the install DVD. I have Visual Studio 2008, SP1 and I had The Silverlight developer kit 2.0, the Silverlight Toolkit 2.0 and Expression Blend 2.0 all installed.
Then, I installed the new Silverlight Tools 2.0 (10-27-2008) and it killed the add-in for IE 7 again. It also installed the SDK 2.0. I uninstalled both of them and it is still broken. Drat, I was so happy an hour ago. I'll have to go through that whole regedit procedure again and just forget using the new Silverlight Tools. If Expression Blend kills it a second time, I am going to just blow my B&$%# out. This is the most frustrating Microsoft bug ever.
12-06-2008 9:47 PM |
This time I got it all to work, including the Silverlight 2.0 Developer Tools and Expression Blend 2.0 with SP1.
I followed the second short procedure. I made one other change; I stayed logged in as full Administrator and installed Silverlight Tools/Silverlight 2.0 SDK and Expression Blend 2 (plus SP1) under that account.
When I logged in as my everyday user, the IE & add-in still worked.
quilnux
26 points
44 Posts
12-09-2008 10:30 AM |
Awesome stuff, glad it was working. We found that some of our systems responded to the first set of steps and the ones that didn't, responded to the second set of steps. We did notice we had to login as administrator during installation, like you. I'm not quite sure why but, if it works...
I apologize for the late response. We spent over 3 weeks getting this to work because we were near a deadline for a customer which required it for their project. after we figured it out I sent everyone home on vacation so we just got back in the office.
Have fun!
smoyers
2 points
1 Posts
05-07-2009 9:51 PM |
I had this problem and your solution not only fixed it, but also fixed my inability to install and run Peachtree with Pervasive DB.
Thanks so much.
andy729
17 Posts
06-06-2009 4:50 PM |
Unfortunately, the specified procedure does not solve the problem on my machine (see my post: http://silverlight.net/forums/p/100779/229997.aspx#229997).