Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: perl (.pl) on ASP (DNP) gives "403 - Forbidden: Access is denied."  (Read 2960 times)

0 Members and 1 Guest are viewing this topic.

sajugovind

  • Guest
When I used the Test PERL Script , I got the error . I enabled detailed error on the website, that showed me:

Code: [Select]
HTTP Error 403.19 - Forbidden
The configured user for this application pool does not have sufficient privileges to run CGI applications.

Cause:

This problem occurs because the identity of the application pool does not have the Replace a process level token user right.

Resolution:

To resolve this problem, use one of the following methods.

Method 1

Make sure that the identity of the application pool has the Replace a process level token user right. To do this, follow these steps:

Click Start, click Run, type secpol.msc, and then click OK.

In the Local Security Policy Microsoft Management Console (MMC) snap-in, expand Local Policies, and then click User Rights Assignment.

In the details pane, right-click Replace a process level token.

In the Replace a process level token Properties dialog box, click Add User or Group.

In the Select Users or Groups dialog box, type the name of the user account, click Check Names to verify the account, and then click OK.

Method 2

Set the value of the Impersonate User property in the CGI settingsto false. To do this, follow these steps.

Click Start, click Run, type Inetmgr, and then click OK.

If you are prompted for an administrator password or for confirmation, type the password or click Continue.

In IIS Manager, expand ComputerName, expand Web Sites, and then click the Web site for which you want to change the CGI setting.

Double-click CGI.

Under the Security node, change the value of the Impersonate User property to False.

Thank you,