Consider the following scenario. You try to run Microsoft .NET Framework 1.0 HREF tags to point to a managed executable application (.exe) or to a control. You try to run the HREF tags from the Internet or from Intranet zones. In this scenario, the application or control does not run.Note
If you have a later version of the .NET Framework installed on the computer, the managed executable application or the control may run. Controls always run on the latest compatible version of the .NET Framework that is installed on the computer. (For example, controls that were built on the .NET Framework 1.0 always run on the .NET Framework 1.1 and on the .NET Framework 2.0.) Managed executable applications run on a later compatible version of the .NET Framework if the .NET Framework on which they were built is not available on the computer. (For example, applications that were built on the .NET Framework 1.0 run on the .NET Framework 1.1 and on the .NET Framework 2.0.)Note
Managed executable applications are also known as no-touch deployment applications or as zero-impact deployment applications.
This issue occurs because the managed executable applications or the controls may contain non-trusted code. By default, the .NET Framework 1.0 does not let you run managed executable applications or controls.
This workaround may make the computer or the network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround. We provide this information so that you can implement the workaround at your own discretion. Use this workaround at your own risk.Important
This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
How to back up and restore the registry in Windows
To work around this issue, use one of the following methods:Method 1
Add the Web site that contains the managed executable application or the control to the "Trusted sites" zone.Method 2
For managed executable applications, upgrade the application to use the ClickOnce deployment technology of the .NET Framework 2.0, and then install the .NET Framework 2.0 or a later version of the .NET Framework on the computer. For more information about ClickOnce deployment, visit the following Microsoft Developer Network (MSDN) Web site: Method 3
For controls, install the .NET Framework 2.0 or a later version of the .NET Framework on the computer. Controls will run on the .NET Framework 2.0 and on later versions of the .NET Framework.Method 4
Configure the computer to let Internet applications run on version 1.0 of the .NET Framework. To do this, follow these steps:
- Click Start, click Run, type regedit, and then click OK.
- Locate and then click the following registry subkey:
- On the Edit menu, point to New, and then click DWORD Value.
- Type EnableIEAssembliesV1.0, and then press ENTER.
- On the Edit menu, click Modify.
- Type 1, and then click OK.
- Exit Registry Editor.
By default, the Internet zone is already disabled in Code Access Security (CAS) policy for the .NET Framework 1.0. Therefore, you may have to enable the Internet zone in CAS policy. Additionally, you may have to use one of the workaround methods that are mentioned earlier in this section for applications or controls to run successfully from the Internet zone on the computer.