With SL plugin 5.0.60818.0 I get an error when I open this page:
http://demos.telerik.com/silverlight/#Docking/FirstLook
(I hope someone from telerik sees this).
I uninstalled SL 5 and reinstalled SL 4, and the page opens fine.
Is there some way I can have both SL 4 and SL 5 runtimes installed, and just configure my browser to use the one I want?
The SL4 and SL5 SDK's can live side-by-side, why not the plugins?
Not on the same OS. You can create a Virtual Machine using Microsoft Virtual PC and use that for one of the plug-ins.
Related
I've been working on a Silverlight 5 RC project so far. After the official release of Silverlight 5 I installed the Silverlight 5 Tools and tested the application on another PC. The Silverlight plug-in gives me the following message:
This application was created for an expired beta release of Silverlight. Please contact the owner of this application and have them upgrade their application using an official release of Silverlight.
It works fine in my development environment. The project settings target Silverlight 5. I use a library compiled for Silverlight 4 or 5 RC. The Silverlight plug-in on the other PC is up-to-date (Silverlight 5 not 5 RC). I searched the project files and setting but found nothing explicitly pointing to or depending on Silverlight 5 RC. I have no reason to think that the application is actually compiled as a Silverlight 5 RC application.
What could cause this problem and how can I fix it?
All you got to do is download Silverlight 5 official release and rebuild your project.
Here is a link to my previous post with all the Silverlight 5 download links
I have a Silverlight 3 application that contains 1 code line (it's a part of real project):
var doc = HtmlPage.Document;
In Safari 5.1 (Windows 7 SP1, Silverlight plugin 5.0.61118.0) I get the Exception in this line:
Unable to cast object of type System.Windows.Browser.HtmlElement to type System.Windows.Browser.HtmlDocument
So, I don't have any access to browser DOM model.
In other browsers everything is ok.
Can somebody help me with this if it's possible ?
I have the same problem, it seems to only occur on Safari for Windows with the Silverlight plugin 5.0.61118.0. The problem seems to have been introduce with Silverlight 5.0.
Also, you cannot access: HtmlPage.Window
According to Microsoft officially Safari for Windows is not a support platform, see:
http://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx (click System Requirements)
In my testing I found that the issue does NOT occur in Silverlight 4 but DOES occur in Silverlight 5.
This is slightly confused because if you try to install Silverlight 4 on Safari for Windows from this link:
http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0
Then you end up with a Silverlight 5 installation.
I found that you use IE to visit this link then Save the download EXE, then install the EXE on Safari for Windows you will get a Silverlight 4 install and from my testing this works. Thus, I am advising my customers who face this issue to install Silverlight 4 as described.
Try this and see if this works (my application uses the navigation framework):
As the error has something to do with the NavigationJournal and in SL we have some control over it I just changed the Journal ownership to:
sdk:Frame JournalOwnership="OwnsJournal"
On the MainPage.xml where the navigation takes place in my app. In this way we lose the browsers back button/navigation but we can implement our own inside the SL app.
I am starting to write an xbap (wpf web app).
I create a new project and run it and Firefox fails (it just keeps trying to open it with "Windows Presentation Foundation Host).
I know that Firefox and Microsoft don't really see eye to eye, but surely there is a way to do this now days?
Saw this post that shows a hack of copying out a DLL from a Windows XP machine. But my users will not do that (I don't even want to do that!)
Does this mean I have to abandon Firefox as my default browser until I am done developing my xbap?
NOTE: I am using Windows 7 and Visual Studio 2010 Ultimate and Firefox 3.6.12
I don't know what exactly your problem is, but here is a Scott Hanselman blog post detailing a WPF application deployed as an XBAP (not XBAB) using VS 2008 with .NET 3.5. It doesn't say anything about WPF 4 (and the .NET 4 runtime, the post is from 2008) or what version of Firefox he was playing with but I hope this demonstrates it is possible and gives you a starting point for more detailed investigations.
Edit - Well, I should have dug a little deeper. It appears that Windows 7 won't support XBAPs in FireFox. There is a Firefox Add-on to Support XBAPs and Loose XAML that is installed with the .NET 3.5 runtime but it is not included in Windows 7 and this link suggests it can't be installed on Windows 7.
You could run IE Tab Plus (Firefox plug-in) and get it to default to IE when you open something from the localhost.
I am running Win 7 64-bit. I a running IE 9 beta (9.0.7930.16406 )I upgraded to Silverlight 4.0 and for some reason now it does not recognize that I have it installed when I go to Silverlight required web sites.
In my control panel – it clearly states that I have 4.0 installed. I uninstalled and reinstalled this as well. However when I go to sites that require silverlight it does not recognize that have Silverlight installed. And of course when I try to click on install Silverlight I get the following error: "The same version of silverlight is installed"
Interesting information – I was able to create another account on my computer and get things working. So this is something tied to my login ID. And yes I am admin on this box.
Any ideas?
Are you launching the 32-bit or the 64-bit Internet Explorer process? Silverlight only works in 32-bit browsers.
I have deployed website using silverlight 3.0.40307.0. It is working perfectly in Local IIS. But when client will installs the newer version of silverlight like 3.0.40626 or higher, It wan't be able to view website.
How to get silverlight 3.0.40307 (old version of 3.0 beta)?
What is the possible solution to deploy silverlight website on IIS?
What silverlight component should be installed on server to view silverlight application on browser?
Can we install silverlight TOOL without VS2008+SP1? if yes, then how?
You need to upgrade your version of Silverlight to the released version. You can't expect users to run beta software because you would be forcing them to use software that is known to contain defects.
You need to download the latest version of the SDK and templates from here.
Clients need only the Silverlight runtime plugin for their browser. There's no way you can enforce the client to install the SL 3 Beta version of the plugin you want; and even if you do, there's no (easy) way to prevent it from self-updating to the RTM version. Not only that, but asking clients to install a Beta version of a released product is a security threat for them.
There's no official way to get the SL 3 Beta runtime installer.
An SL app is a client-side code; on the server side you only need standard IIS that serves HTML with an tag and the .xap file for the SL application.
There are no SL components required to be installed on the server for the client to run the SL app.
You can't install the Silverlight Visual Studio Tools without VS2008 SP1 - as their name suggests, the tools are intended to integrate with VS. However, you can install the SL SDK and build SL applications without having VS2008 SP1. (Alternatively, you could use MonoDevelop/Mono/Moonlight to develop SL applications)
If you have deployed your silverlight app that is compiled with Silverlight version 3.0.4.0307.0(i.e. Silverlight Beta), your app may work perfectly for the users with Silverlight 3(RTM).
However, if those visitors come across your silverlight app who doesn't have Silverlight installed at all(or maybe lower than Silverlight 3 Beta), they will be prompted to download Silverlight to view your app.
Once they wish to download Silverlight runtime by clicking on the "Get Silverlight" button, visitors will be redirected to Silverlight download location, and the most important part is
**They will get a message explaining that this app is made with Beta version of the Silverlight.
So this may hamper thier experience and impression about your silverlight app and because of this very few people can get to your app correctly **
It is my suggestion that you try to compile your project with Silverlight 3 as early as possible .
Regarding 2nd question What is the possible solution to deploy silverlight website on IIS?
Here is the Answer : You'll need to register the MIME types for xap on your server.