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
Related
I am using IIS 7.5 in windows 7 machine.
I need to start/stop websites from my C++ application. This is a plain win32 app, nothing to do with .NET.
Now, I've found out how to configure websites, using the IAppHostAdministration interfaces as mentioned in the link https://forums.iis.net/t/1146649.aspx.
With IIS 7, my code does this:
Get the AppHostWritableAdminManager and commit the path
MACHINE/WEBROOT/APPHOST/Default Web Site/.
Call GetAdminSection with the section name appSettings.
Then look at the returned collection and creating new site using
CreateNewElement method.
But I can't find a way to start/stop those websites.
Please help me.
I recently working on a Windows 8.1 App, which was developed with C# and XAML. SharePoint Online is used for Data store.
I searched and found that Wictor solution can be used for Authentication. but the problem is that we can not use Wictor solution [http://www.wictorwilen.se/Post/How-to-do-active-authentication-to-Office-365-and-SharePoint-Online.aspx] directly as it is built upon .Net framework and Metro Apps are built upon .NetCore.
One possible option is to use WCF service and have whole Wictor solution in WCF service then call WCF service from Windows App. I tested it and it is working fine.
However, I wanted to know what would be the best approach available if I don't want to deploy this WCF separately. In future I have to publish this Win App on Windows store.
Any help will be appreciated.
Thanks
I have an application where I host a .NET 3.5 Windows Forms control in Internet explorer to provide access to a scanner. The control works fine in IE7 through IE10 and IE11, but it is not workingin IE11 on Windows 8.1 (desktop mode).
The PC in question has both .NET 2.0/3.0/3.5 and .NET 4.0/4.5 installed and enabled, the site has been added to the trusted zone, CASPOL permissions have been set the same as they are on the PC's running Win7 and EnableIEHosting has been set to 1 at both 32 and 64bit levels on the PC.
Debugging locally indicates that the problem lies in calling a web service method which never seems to return and never seems to actually run either. All I am left with is a locked IE11 that has to be closed from task manager.
I have diagnosed that it is actually the constructor of a Web service client that fails to return. It is a simple generated client class and as such simply calls the base constructor ; unfortunately, it is failing within the call to the base class.
As previously stated, this has worked without problem from IE7 through IE10 on Windows XP through Windows 8.0 and I am absolutely certain that the CASPOL configurations etc. have been set correctly.
Is anybody aware of any other problems or new configuration requirements when hosting .NET Windows Forms controls in IE11?
It sounds as if your machines are up to date, but I've just had an IE 11 and .net 4 related issue (and have read about lots more) caused by being behind on .net updates. I'm not entirely sure if this applies to your situation, but the problem was .net failing to identify IE 11 as an IE browser, which naturally could cause various problems.
This is the hotfix that sorted the problem I was having, and is talked more by Scott Hanselman here.
Hope this is of some use for you, or other passers by struggling with .net 4 and IE 11 issues.
I got breakthrough.
As we cannot deploy service config in web application that hosts windows form control.
I created constructor in code itself and it worked absolutely fine.
Following is code sample.
Dim binding As New BasicHttpBinding
Dim endPoint As New EndpointAddress("http://SERVERNAME/<WEBSITE>/YOURSERVICE.svc")
Dim obj As New TestWCFService.TestWCFServiceClient(binding, endPoint)
Hope this works for you too.
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
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