Microsoft KB Archive/914985

= 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 ID: 914985

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft .NET Framework 2.0

-





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



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:

Using Windows Forms controls in Internet Explorer

http://www.windowsforms.net/articles/iesourcing.aspx

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:  Click Start, click Run, type regedit, and then click OK. Locate and then click the following key in the registry:

 

</li> On the Edit menu, point to New, and then click DWORD Value.</li> Type EnableInternetHREFexes, and then press ENTER.</li> On the Edit menu, click Modify.</li> Type 1, and then click OK.</li></ol> </li></ul>

<div class="status_section">

STATUS
This behavior is by design.

Keywords: kbtshoot kbprb KB914985

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.