Dynamic IP Restriction And Plesk

There has been several reports of Dynamic IP Restriction not working when Plesk is installed.

The issue observed is the worker process fails to load dynamiciprestrictions module while startup, and thus fails, and errors out. The eventlog entry correponding looks something like this

"Log Name: Application
Source: Microsoft-Windows-IIS-W3SVC-WP
Description:
The Module DLL C:\Program Files\IIS\Dynamic IP Restrictions\dynamiciprestrictions.dll failed to load. The data is the error.
<EventData>
<Data Name="ModuleDll">C:\Program Files\IIS\Dynamic IP Restrictions\dynamiciprestrictions.dll/Data>
<Binary>05000000/Binary>       --- Error code 5 - ACCESS-DENIED
</EventData>
</Event>"

This occurs since the Worker process does not have read access to %systemdir%\program files\IIS\dynamic ip restrictions. Its mostly due to plesk setting acls, which leads to this.

To resolve this issue, manually edit the acls at this directory to grant the Worker process Read Access.

 

No Comments