Reprint: About WebBrowser enabled only for out-of-browser applications and applications that run with elevated privileges in Internet Explorer

Source: Internet
Author: User

I am a blogger based on many great gods and a summary of what I did when I was doing the project about improving WebBrowser in Silverlight:

1) Select the Silverlight main program, right-click "Properties"---"sliverlight", such as the location to be circled with red lines on the way to select:

2) Select signature: Click "Create Test Certificate", enter the password of the certificate, then click "More Details"--"details"--"Copy to File" Copy to the file is to export the certificate file you created, after the problem of exporting the private key according to their own situation to choose; After you export the certificate, double-click the installation certificate.

3) Select the certificate store location: Installed two times, one time is installed in trusted publishers, in turn, in trusted Root certification authorities.

4) After the installation, and then modify the information in the registry, (the bottom of the article will be attached as an attachment to modify the registry file)

5) These are some of the great gods ' solutions to this problem: Here is my display problem with embedded (HTML) report printing in Silverlight;

I did it in the same way, but then I reported a very strange mistake:

After a long study, I finally found out that the MIME type was not added in ISS:

To modify the registry file:

Add a new key within the registry Allowelevatedtrustappsinbrowser

Its name is Allowelevatedtrustappsinbrowser,dword and the value is 1. Setting Silverlight allows access to some local resources.

• Key Name: Allowelevatedtrustappsinbrowser
• Key type: DWORD
• Key value: 0x00000000 (Disabled) or 0x00000001 (enabled)

The key registration location is not the same in 32-bit system and 64-bit system, see below:

    • Hkey_local_machine\software\microsoft\silverlight\ (for 32-bit) or
    • Hkey_local_machine\software\wow6432node\microsoft\silverlight (for 64-bit)

Transferred from: http://blog.csdn.net/yuchenlove_/article/details/18005395

Reprint: About WebBrowser enabled only for out-of-browser applications and applications that run with elevated privileges in Internet Explorer

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.