Page view counter
Problems with both Silverlight 1.0 and Silverlight 1.1
Last post 05-02-2007 3:33 PM by AndreMK. 6 replies.
Sort Posts:
05-01-2007 7:56 AM
Problems with both Silverlight 1.0 and Silverlight 1.1

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.dll

the 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 SDKs
I 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

 

AndreMK

Loading...
Joined on 05-01-2007
Posts 3
05-02-2007 11:49 AM
Re: Problems with both Silverlight 1.0 and Silverlight 1.1

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?

Daniel Harvey

Loading...
Joined on 05-01-2007
Posts 391
05-02-2007 12:40 PM
Re: Problems with both Silverlight 1.0 and Silverlight 1.1

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

steveher

Loading...
Joined on 05-01-2007
Posts 3
05-02-2007 1:04 PM
Re: Problems with both Silverlight 1.0 and Silverlight 1.1

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.


Bill Reiss, Coauthor of Hello! Silverlight 2
My blog (rss feed)

Bill Reiss

Loading...
Joined on 05-01-2007
Tampa, FL
Posts 848
05-02-2007 3:21 PM
Re: Problems with both Silverlight 1.0 and Silverlight 1.1

I have the same problem.Sad

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

JohaViss61

Loading...
Joined on 05-02-2007
Posts 1
05-02-2007 3:32 PM
Re: Problems with both Silverlight 1.0 and Silverlight 1.1

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 object

var AgControl = new ActiveXObject("AgControl.AgControl");          // Fails on my system

after 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 is

0.95.20416.10

after the registration of npctrl.dll with regsvr32.dll the version changes to

0.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 Installation

Thanks,
Andre

 


 

AndreMK

Loading...
Joined on 05-01-2007
Posts 3
05-02-2007 3:33 PM
Re: Problems with both Silverlight 1.0 and Silverlight 1.1

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

AndreMK

Loading...
Joined on 05-01-2007
Posts 3
Microsoft Communities