WebBrowser is only enabled for applications outside the browser and applications running in Internet Explorer with higher permissions.

Source: Internet
Author: User

Reprinted: WebBrowser is only enabled for applications outside the browser and applications running in Internet Explorer with higher permissions. webbrowserexplorer

I have summarized the problems of enhancing the WebBrowser's trust in Silverlight Based on a lot of blogs written by great gods and my own project:

1) Select the Silverlight main program, right-click "property"> "Sliverlight", and select the position circled by the red line on the way:

2) select Signature: click "create test certificate" and enter the certificate password; click "More details"> "details"> "Copy to file" to copy the Certificate file that you created, you can choose to export the private key based on your needs. After exporting the certificate, double-click to install the certificate,

3) Select the certificate storage location: Install the certificate twice. Install the certificate once on the "trusted publisher" and then on the "Trusted Root Certificate Authority ".

4) after the installation, modify the information in the Registry. (The file for modifying the registry will be uploaded as an attachment at the bottom of the article)

5) the above are the solutions for this problem: the following is my problem of displaying embedded (html) reports in Silverlight;

I also follow the above operations, but then I will report a very strange error:

After studying for a long time, I finally found that the MIMe type is not added to ISS:

 

Modify the Registry file:

 

Add a new key AllowElevatedTrustAppsInBrowser to the Registry.

Its name is AllowElevatedTrustAppsInBrowser, which is of the DWORD type and the value is 1. Set Silverlight to allow access to some local resources.

• Key name: AllowElevatedTrustAppsInBrowser
• Key type: DWORD
• Key Value: 0x00000000 (disabled) or 0x00000001 (enabled)

The key registration location is different in 32-bit and 64-bit systems. For details, see:

  • HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Silverlight \ (for 32-bit) or
  • HKEY_LOCAL_MACHINE \ Software \ Wow6432Node \ Microsoft \ Silverlight (for 64-bit)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.