Share this page

# Configure application security and permissions

A Security Exception that occurs while recording an application is usually due to a lack of permissions—the recording machine does not have sufficient permissions to record the application. This is common where your application is not local, but on the Intranet or network.

To solve this problem, you need to allow the recording machine to access the application and the script with Full Trust.

One solution is to copy the application and save your script locally, since by default, users have Full Trust permissions to all local applications and folders.

An additional solution is to create new code groups that gives Full Trust to each application folder, and the script folder.

Grant Full Trust permissions to a specific folder (Visual Studio not installed):

1. From the command prompt, run the caspol.exe application.

2. Set the required permission.

Grant Full Trust permissions to a specific folder (Visual Studio installed):

1. Open the .NET Configuration settings. Select Start > All Programs > Administrative Tools > Microsoft .NET Framework 2.0 Configuration. The .NET Configuration window opens.

2. Expand the Runtime Security Policy node to show the Code Groups of the machine.

3. Select the All_Code node.

4. Select Action > New. The Create New Code Group dialog box opens.

5. Enter a name for a new Code Group for your application or script. Click Next.

6. Select the URL condition type. In the URL box, specify the full path of the application or script in the format `file://...` and click Next`.`

7. Select the FullTrust permission set. Click Next`.`

8. Click Finish in the Completing the Wizard dialog box. The configuration tool adds your Code Group to the list of existing groups.

9. Repeat the above procedure for all .NET applications that you plan to record.

10. Repeat the above procedure for the Vuser script folder.

Note: Make sure that the script folder has FullTrust permissions on all Load Generator machines that are participating in the test (OpenText Professional Performance Engineering only).

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 26.1-26.3 All View Local Help Center View Online Help Center Version: