Phenomenon:
A domain Service account has been setup and the fileservice is setup to run under this account in IIS. But when trying to upload a file you run into the error like this:
1. the log file shows: System.UnauthorizedAccessException: Access to the path '\\fileserver\attachmentt/\Doc' is denied.
or
2. the log files shows: System.UnauthorizedAccessException: Access to the path '\\fileserver\attachment\appeon.lst' is denied.
Cause:
This issue is permission related.
Solution:
Step 1- Go to IIS and find the application pool of your Appeon File service.
Step 2- Go to the Application Pools> [your application pool]> Advanced settings…
Step 3- Set the identity property for your application pool.
Note: The user name and password you set for the Custom account must match with one of the accounts (this account must have the full control for the folder) in the share folder’s permissions window.
Step 4- Restart the IIS where the Appeon File Service is installed.