Skip to main content
Home Forums General Silverlight Installation and Setup Problems with both Silverlight 1.0 and Silverlight 1.1
6 replies. Latest Post by AndreMK on May 2, 2007.
(0)
AndreMK
Member
4 points
3 Posts
05-01-2007 7:56 AM |
Hi,
I had (have) problems running the samples for Silverlight 1.0 and Silverlight 1.1.After manually registering npctrl.dll
with regsvr32.exe C:\Program Files\Microsoft Silverlight\Npctrl.dllthe samples of Silverlight 1.0 Beta did run. Before I was always prompted to install the Silverlight runtime.The samples for Silverlight 1.1 Alpha require a agcontrol version 0.95.0. But my installed components return 0.90.20410. When I fix the java script to return true in any case the Silverlight Alpha 1.1 samples seem to run correctly.
Before these manual fixes, I tried to deinstall / reinstall all previous versions of Silverlight and WPF/E and the tried to install all combinations of the latest Silverlight 1.0 and Silverlight 1.1 runtimes and SDKsI have Vista Ultimate with VS 2005 SP1, VS 2005 SP1 Vista Extensions installed. Has somebody any ideas how to generally fix the problem(s) above, or what might have gone wrong ?Is there a agcontrol version 0.95.0 available, but simply failed to install on my system ? Thank you very much in advance,Andre
Daniel H...
Participant
1282 points
391 Posts
05-02-2007 11:49 AM |
The ActiveX control and Silverlight are versioned differently. The Silverlight 1.1 Alpha should install version 0.95.20416.10, but the agcontrol should be 0.90. Can you screen capture/transcribe the exact error message that said you need 0.95.0?
steveher
6 points
05-02-2007 12:40 PM |
Hi Andre,
If your the version that is returned is 0.90.20416.10 you have Silverlight 1.0 Beta installed. The samples that you appear to be running are Silverlight 1.1 Alpha samples. You should install the Silverlight 1.1 Alpha to get your samples working.
Using the below will tell you the exact verison that the installer put on your machine. I would also suggest not regsvr32 npctrl.dll. There are some subtle diferences between the installer and how regsvr32 works.
In the registry check HKEY_LOCAL_MACHINE\Software\Microsoft\Silverlight\Version
The 1.0 Beta will have 0.90.20416.10
The 1.1 Alpha will have 0.95.20416.10
On a 64 bit machine you'll need to look in HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Silverlight\Version
Thanks,
Steve Herndon
Silverlight Deployment
Bill Reiss
Contributor
4840 points
919 Posts
05-02-2007 1:04 PM |
Steve, my registry has a silverlight version of 0.95.20416.10 and the 1.1 samples run fine in firefox but in IE7 I just get the "Get Microsoft Silverlight - Alpha" graphic. I have installed mutiple times with reboots, etc, with no luck. Anything else I can try? Oh by the way I'm running Vista Business.
Thanks for any advice you can give.
JohaViss61
2 points
1 Posts
05-02-2007 3:21 PM |
I have the same problem.
I installed SilverLight 1.0. (Clean install)
Also downloaded some samples.
When I try to open any of the samples I get the 'Install Siverlight' page.
Running Vista Ultimate.
Regards Johan
05-02-2007 3:32 PM |
Hi Steve, thank you for your reply/help.I have the Alpha installed. But the samples won't work in IE7. The java script Silverlight.js is not able to create the activex objectvar AgControl = new ActiveXObject("AgControl.AgControl"); // Fails on my systemafter I register the npctrl.dll manually it works, but an older version number is returned in the line
var versionStr = detectAgControlVersion();The reason is perhaps that the version information in the registry changes, after I register npctrl.dll manually. Right after the installation of Silverlight Alpha the version in HKLM\Software\Microsoft\Silverlight\Version is0.95.20416.10
after the registration of npctrl.dll with regsvr32.dll the version changes to0.90.20410.00.So far my only problem seems to be that IE7 cannot create the ActiveX object. I thought the only way to instantiate an ActiveX object is either by centrally registering the dll with regsvr32.dll or by using a manifest. Did I miss something (beside manually loading the DLL) ?By the way I have a 32 Bit InstallationThanks,Andre
05-02-2007 3:33 PM |
Thank you Daniel,The alpha has installed the version 0.95, but see my post below what happens if I register npctrl.dll manually.
Andre