An Open dialog box appears in Internet Explorer when you try to run href-exes from the Internet zone in the .NET Framework 2.0

Article translations Article translations
Article ID: 914985 - View products that this article applies to.
Important This article contains information that shows you how to help lower security settings or how to turn off security features on a computer. You can make these changes to work around a specific problem. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this workaround in your particular environment. If you implement this workaround, take any appropriate additional steps to help protect your system.

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry
Expand all | Collapse all

SYMPTOMS

In the Microsoft .NET Framework 2.0, when you try to run href-exes from the Internet zone, the href-exes do not run. Instead, an Open dialog box appears in Microsoft Internet Explorer.

Note Href-exes are also known as no-touch deployment applications or zero impact deployment applications.

CAUSE

This issue occurs because the href-exes may potentially contain non-trusted code if the href-exes were downloaded from the Internet. By default, the .NET Framework 2.0 does not let you run Internet href-exes.

WORKAROUND

Warning This workaround may make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To work around this issue, use any one or more of the following methods:
  • Upgrade the application to use the ClickOnce feature. For more information about ClickOnce applications, visit the following Microsoft Developer Network (MSDN) Web site:
    http://msdn2.microsoft.com/en-us/library/t71a733d(en-US,VS.80).aspx
  • Add the Web site that contains href-exes to the Trusted sites zone.
  • Use a control in the browser. Browser controls always run on the latest version of the .NET Framework. For more information about browser controls, visit the following Microsoft Web sites:



    Host secure, lightweight client-side controls in Microsoft Internet Explorer
    http://msdn.microsoft.com/msdnmag/issues/02/01/UserCtrl/default.aspx
    For more information, click the following article number to view the article in the Microsoft Knowledge Base:
    892466 How to run a user control assembly that is hosted on Internet Information Services (IIS) in Internet Explorer
  • Configure the computer to allow for Internet applications to run against earlier versions of the .NET Framework. Follow these steps, and then quit Registry Editor:
    1. Click Start, click Run, type regedit, and then click OK.
    2. Locate and then click the following key in the registry:
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework
    3. On the Edit menu, point to New, and then click DWORD Value.
    4. Type EnableInternetHREFexes, and then press ENTER.
    5. On the Edit menu, click Modify.
    6. Type 1, and then click OK.

STATUS

This behavior is by design.

Properties

Article ID: 914985 - Last Review: December 3, 2007 - Revision: 1.3
APPLIES TO
  • Microsoft .NET Framework 2.0
Keywords: 
kbtshoot kbprb KB914985

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com