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