How to detect whether the client machine has installed silverlight? - silverlight-5.0

i am using silverlight 5 and hosted the SL5 application.
As we all have seen, when we come in the homepage of this website, we will see a message telling us to install silverlight if we haven't installed silverlight. How to detect if the client machine has not installed silverlight ?
if not installed i need to show a custom message and take the user into micorsoft site in order to download the silverlight instead of the install silverlight message.
i have verified the below URL and did the same thing..
http://www.xdevsoftware.com/blog/post/Si...ction.aspx
but i hosted my application and i did the same in the above url but it does not worked..
i got the default result only but not my customized information's if the client doesn't have silverlight.
i am using silverlight 5.
Regards
gopal.s

Please take a look at http://msdn.microsoft.com/en-us/library/cc838126(v=vs.95).aspx
The Silverlight.js file does all the magic. In fact you if you create a new silver light project in Visual Studio 2010 detection of Silverlight and automatic install is all handled for you.
Silverlight Install and Upgrade Experience has all the information on customizing the install experience

Related

Nuget custom server returns 404

I am trying to setup nuget custom server, and cannot get it list my packages.
Here is list which I verified:
Server updated to .net 4.5
OS is Windows Web Server 2008 R2
Application pool is set to integrated, dotnet set to 4.0
modules runAllManagedModulesForAllRequests="true" is present
mime map is present in web.config, and visible by IIS
I am able to download file with direct link
i am able to push package to my server
So, when I go to http://servername.com i see nice:
You are running NuGet.Server v2.7.40911.225
Click here to view your packages.
but http://servername.com/nuget returns 404. Probably there is issue with original nuget routing.
It sounds to me like the ODATA routes are just not being picked up. Did you check that nothing is overriding this at the machine.config level? You may also want to check that your package path is configured, and the web app has permission to access it.
One thing that might be easier to do is to install a third-party NuGet server such as ProGet; it's free and installs pretty easily, and also will be a bit more robust in terms of features.
(disclaimer: I work for Inedo)

Silverlight business application: windows authentication using IIS express not working

When using IIS Express and Windows Authentiction with Silverlight 5 (using silverlight business application template in VS 2012), the status bar is stuck at "authenticating..."
Switching back to the Visual Studio Developer Server, Windows Authentication works.
Please assist.
Solved the issue by applying below.
Need to update extra configurations (at IIS express level), in addition to Visual studio settings.
Go to MyDocuments\IISExpress\config\applicationhost
Search for windowsAuthentication
Updates:
3.1 Under sectionGroup name="authentication" and section name="windowsAuthentication", update overrideModeDefault to "Allow". Default is "Deny"
3.2 Under authentication >> windowsAuthentication, update enabled="true". Default is false.
Save and close
All projects, using Windows authentication and running under IIS express, will start running smoothly.

Does IE 11 support applications developed in Silverlight 5?

We have developed a web application with using Silverlight 5. We are facing problems in IE 11. The application is not even loading in IE 11. But it is working fine in IE 10 and other browsers like Chrome and Mozilla.
When we debug, the "Silverlight.__startup();" function itself is not called when we focused the silverlight object. Could you please clarify for us whether will IE 11 support Silverlight applications or not. If yes, could you please provide some tips / suggestions to load the SL application in IE 11. If you can able to provide a sample app, that will be great for me.
Also, we are using jquery 1.4.1 version. Will IE 11 support this version or not. If not, which version of jquery we have to use in IE 11?
You should upgrade to the latest version of jQuery.
In principle, Desktop IE11 will support Silverlight in the Trusted Sites and Intranet zones.
The Immersive version of IE (Win8/Win8.1 app environment) doesn't support add-ons.
Silverlight is a legacy add-on which is not compatible with Enhanced Protected Mode, which is now on-by-default in the Internet Zone.
I just install IE11 replacing IE10 on Windows 7, and all my application Under Silverlight work fine.
What I have done :
option Internet Intranet : allow initialize activeX
Parameter compatibility : set to Trust my Intranet Server.
Surprise : I can look demo of Devexpress.com on Silverlight, without any change on security on Internet
Regards

I got following error When i open SiteCore website in Visual Studio 4.0

I got the following two errors when I open Sitecore 6.3 website in Visual Studio 4.0:
Error 1 The virtual path
'/sitecore/shell/Applications/Analytics/ReportRunner/DateSelector.ascx'
maps to another application, which is not allowed.
Error 2 Unknown
server tag 'ds:DateSelector'.
I simply install Sitecore 6.3 (website save into c:/inetpub/wwwroot/sitecoresite/website). When I open this site in Visual Studio 4.0, it shows error.
Can any body tell to me how can I open this or what mistake did I make?
As far as I understand your question, you get the error when you browse the newly installed Sitecore website, which is set up to run under ASP.NET 4.0 application pool. If that's the case, then I should inform you that it is supported to run Sitecore under ASP.NET 4.0 application pools starting from version 6.4.0.
So, you have two options here:
setup your application pool to use ASP.NET 2.0 (make sure .NET 2.0 is installed)
upgrade a Sitecore instance to the 6.4.0+ (which might not be acceptable)
Hope this helps.
I'm not sure if you are having issues because of the way you are opening the project, there are a few issues if you open it as a File-System website project you will want to create a Web Application Project and go from there.
You can look at this blog post :
Simplify Sitecore Visual Studio Project Creation (or the previous version) for information on how to setup a Visual Studio Project correctly for Sitecore.
I actually think this might just be as simple as a missing tilde. So rather having
/sitecore/shell/Applications/Analytics/ReportRunner/DateSelector.ascx
you should have
~/sitecore/shell/Applications/Analytics/ReportRunner/DateSelector.ascx

Silverlight 5 breaking Silverlight 4 application

I recently installed silverlight 5 and started working on new project based on SL5 version but after installing SL5 all my previous applications built on SL4 are not working and when i run these applications, XAP is getting downloaded and I am getting complete white screen as soon as it completed downloading XAP file and getting "AG_E_UNKNOWN_ERROR".
FYI: Everything works fine when i browse these SL4 based applications (hosted on my system) from a different system having only SL4 plugin.
Is there any known compatibility issue exists with SL4 & SL5 plugins running parallel? Kindly let me know any workarounds for this issue?
Thanks.
If you use Binding to Resource Files
You should update the constructor back to the public.
Also it might be possible that you web services references were broken