Configure Microsoft Visual Studio ClickOnce Trust Prompts

From ExcelReportLink Wiki
Jump to navigation Jump to search

Overview

Microsoft Visual Studio ClickOnce Trust Prompts control whether code using the .net Framework can be launched or not within Microsoft Office. If this is not enabled or allow, ExcelReportLink will not run as it will be missing the AddonsLink Ribbon.

These settings are controlled by the following key within your windows registry.

HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\.NETFramework\Security\TrustManager\PromptingLevel

Importantly, both the MyComputer and LocalIntranet registry key values should be set to Enabled.

For more complete information from Microsoft, refer to the following article.

https://docs.microsoft.com/en-us/visualstudio/deployment/how-to-configure-the-clickonce-trust-prompt-behavior?view=vs-2015

Configuring Microsoft Visual Studio ClickOnce Trust Prompts using the prepared registry file

You can download and run the following file to resolve the issues.

https://accountingaddons.com.au/downloads/support/Microsoft_Visual_Studio_ClickOnce_Trust_Prompts.reg

Configuring Microsoft Visual Studio ClickOnce Trust Prompts manually

To Configure Microsoft Visual Studio ClickOnce Trust Prompts, follow these steps:

  1. Using windows, click on the Start button and select Run;
    Or type Windows+R on your keyboard
  2. Enter Regedit and click OK;
  3. Navigate to the following registry key;
    HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\.NETFramework\Security\TrustManager\PromptingLevel
  4. Ensure the value of MyComputer is set to Enabled;
  5. Ensure the value of LocalIntranet is set to Enabled.
  6. Close the registry editor.

Related Topics