Behavior:
When uploading a sample document in Document processing, you get the following error;
"The uploaded document could not be analyzed. Ensure that the document is a valid PDF and is not password protected"
Solution:
This error has occurred because DocuWare is attempting to open the sample document in the default storage location, but the user running IIS services cannot access this path. Please refer to the following guide to resolve this behavior;
1. Navigate to the DocCap log (C:\ProgramData\DocuWare\Logs) where a similar error should be listed, which details the path that can not be accessed;
"System.UnauthorizedAccessException: Access to the path 'C:\DWSystemStorage\Temp' is denied.'"
2. Browse to the storage location listed in the DocCap log. In this example, the affected path is C:\DWSystemStorage\Temp. Right-click the file path and select Properties.
3. Open the Security tab and click Edit. Select the user running IIS Services/DocuWare Services (these should be the same user), then click Add.
Note: Please contact your IT department for assistance in granting the necessary rights.
Note: Please contact your IT department for assistance in granting the necessary rights.
4. Once the user is added, attempt to upload a sample document, which should proceed without error. If you are still having this issue, please review KBA-36464.
KBA is applicable to both Cloud and On-premises Organizations.