When a PaperVision Capture service does not have adequate permissions to a path, an error titled “Event 100: Access to the path ‘\\your\share\path’” is generated.
Example of an Access error from the Windows Event Viewer:
Log Name: Application
Source: PaperVision Process Worker
Date: 1/4/2010 10:04:44 AM
Event ID: 100
Task Category: None
Timestamp: 1/4/2010 4:04:44 PM
Exception Type: System.UnauthorizedAccessException
Message: Access to the path '\\CAPTURESERVER\exports\Export1\persist.xml' is denied.
In the Example error above, the PaperVision Capture Process Worker is a child process of the PaperVision Capture Process Initiator. So, in order to grant the process worker access to the export path, the first step is to identify the user account running the Process Initiator service. This can be done in the Windows services console by viewing the properties of the service. The default identity is the Local System account, which does not have network credentials. If the path that the service is trying to access is a network location you will need to use a Domain Account that has Read, Write, and Execute control over that network location.
To resolve this follow the steps below:
- Right click on My Computer and select Manage.
- Expand Services and Applications.
- Select Services and highlight the specified Service.
- Right click and select properties.
- Select the Log On tab.
- Select the user account that will have full-control permissions to the network location specified in error message and select OK.
- Right click and restart the service for the change to take effect.