Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8078541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:49:39+00:00 2026-06-05T15:49:39+00:00

With the new Silverlight 5, we can now have an In-Browser elevated-trust application. However,

  • 0

With the new Silverlight 5, we can now have an In-Browser elevated-trust application.
However, I’m experiencing some problems to deploy the application.

When I am testing the application from Visual Studio, everything works fine because it automatically gives every right if the website is hosted on the local machine (localhost, 127.0.0.1).

I saw on MSDN that I have to follow 3 steps to make it work on any website:

  1. Signed the XAP — I did it following the Microsoft tutorial
  2. Install the Trusted publishers certificate store — I did it too following the Microsoft Tutorial
  3. Adding a Registry key with the value AllowElevatedTrustAppsInBrowser.

The third step is the one I am the most unsure about. Do we need to add this registry key on the local machine or on the server? Is there any automatic function in Silverlight to add this key or is it better to make a batch file?

Even with those three steps, the application is still not working when called from another url than localhost.

Does anybody have successfully implemented an in-browser elevated-trust application? Do you see what I’m doing wrong?

Sources:

  • http://msdn.microsoft.com/en-us/library/gg192793(v=VS.96).aspx
  • http://pitorque.de/MisterGoodcat/post/Silverlight-5-Tidbits-Trusted-applications.aspx
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T15:49:41+00:00Added an answer on June 5, 2026 at 3:49 pm

    There are lots of great resources describing this process, including the ones mentioned in responses here. I wanted to document the steps that worked for us. (Silverlight 5.1.10411.0)

    Here are the steps that we took to enable In-Browser Trusted Applications:

    1. Sign the Xap file with code signing key.
    2. Install public code signing key into “Certificates->Current User->Trusted Publishers”
    3. Set the DWORD registry key AllowElevatedTrustAppsInBrowser = 1 at
      SL 64 bit path: HKLM\Software\Wow6432Node\Microsoft\Silverlight
      SL 32 bit path: HKLM\Software\Microsoft\Silverlight
    4. Open the Silverlight project in a text editor and verify the following entries exist:
      <RequireInBrowserElevation>true</RequireInBrowserElevation>
      <InBrowserSettingsFile>Properties\InBrowserSettings.xml</InBrowserSettingsFile>
      
    5. Check that the Properties\InBrowserSettings.xml exists and contains:
      <InBrowserSettings>
        <InBrowserSettings.SecuritySettings>
          <SecuritySettings ElevatedPermissions="Required" />
        </InBrowserSettings.SecuritySettings>
      </InBrowserSettings>
      

    Note:

    • If you use a self signed certificate while testing, you will also need to install it into “Certificates->Current User->Trusted Root Certification Authorities”. (Buy one before you go into production)
    • Once you sign a XAP file you cannot unzip and modify it as doing so breaks the signing (it must be resigned).
    • Don’t forget to clear your browser cache if you are caching the xap file.
    • This worked on Windows 7 and Windows 8 Release Preview (desktop mode) with IE, Chrome, Firefox and Safari.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Silverlight application installed Out-Of-Browser on multiple computers. Now I'd want to
I have created a new silverlight business application in visual studio. It auto generates
I have an ASP MVC application which uses some silverlight applications in the View.
I have been developing a Lync Silverlight application in Silverlight and now I am
i'm new at silverlight and i'm experimenting with it right now. I have the
I have created a database, linked it with DomainService's within my Silverlight Application. Now
I have an existing Silverlight-Enabled WCF Service. Now I am writing a WPF. Can
I have created a Silverlight 4 application, that is running out of browser. As
I'm facing some problems with my silverlight application. My application looks like an image
I can create new Silverlight App with .NET RIA Services enabled. But when I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.