Configuring .NET Permissions for .NET Controls Hosted in Internet Explorer
Microsoft has provided the ability to host .NET controls on webpages within Internet Explorer, just like it can host Java applets or ActiveX controls. You can use this capability to embed .NET applications.
Unless it is given the correct permissions, attempts to load Studio's .NET translator inside Internet Explorer will either perform incorrectly or will cause Internet Explorer to crash or hang. To prevent this issue, the .NET translator is not loaded into Internet Explorer even when the .NET runtime is detected. This allows Studio to treat the controls inside the .NET application as regular Window controls.
This behavior means that within Internet Explorer:
.NET link labels are interrogated and treated as regular labels, with no access to the link specific events, properties, or methods.
.NET radio buttons and check box controls are not be usable in automations.
In scenarios where the .NET translator is needed in Internet Explorer, you must set the required .NET security permissions to the site that contains the .NET control.
Required permissions
The following .NET permissions are required for the .NET translator to work correctly with .NET control embedded on a web page:
User Interface
Windowing – All windows and events
Security
Enable Code Execution – Yes
File IO
Directory where Studio .DLL files are contained – Read, Path Desc.
Example: "C:\Program Files\OpenSpan\OpenSpan Runtime Enterprise\”
Example: "C:\Program Files\OpenSpan\OpenSpan Studio for Visual Studio 2015\Application\"
The required permissions must be given to the Internet Zone that the hosted .NET control is run in. For best results, create a new code group for the site that is hosting the .NET control, which is assigned required permissions listed above.
You can configure the .NET Framework security policy several ways:
The Code Access Security Policy Tool (Caspol.exe) – This command-line utility is installed on every computer that has the .NET Framework 2.0.
NET Framework 2.0 Configuration Utility (Mscorcfg.msc) – This tool is installed as part of the .NET Framework 2.0 SDK.
Related information
Configuring Security Policy Using the Code Access Security Policy Tool (Caspol.exe)
Configuring Security Policy Using the .NET Framework Configuration Tool (Mscorcfg.msc)
Privacy | Trademarks | Terms of Use | Feedback
Updated: 18 June 2020
© 2016 - 2020 Pegasystems Inc. Cambridge, MA All rights reserved.