On startup of PowerServer Web APIs, the event log records the following warning:
Access to the path "C:\inetput\wwwroot\salesdemo_cloud_API\powerserver\licoffdata.bin" is denied.
Cause:
Please grant read and write rights to the root directory where PowerServer Web APIs is hosted, for example, when deploying to IIS, read and write rights are required by the "[solutionname]_API" sub-folder; this is to ensure when PowerServer is unable to connect with the license server (for example, due to a network problem), PowerServer can still run for a short period of time.
Solution:
Grant Internet Guest Account and IIS Process Account proper rights to manipulate the Web root folder. Below are the detailed steps:
-
Right-click on the C:\Inetpub\wwwroot folder. Select the Properties item and select the Security tab page;
-
Add IIS_IUSRS (or NETWORK SERVICE) if it is not listed in the box "Group or usernames";
-
Grant Full Control permission to the IIS_IUSRS (or NETWORK SERVICE).
-
Restart the IIS server (iisreset.exe).
-
If the issue persists, please try granting "everyone" user full control permission on the API folder, for example, C:\inetput\wwwroot\salesdemo_cloud_API.