I am looking to use the SDK to import text from a folder location, but workflow is returning an 'Access to path is denied' error. I need to determine what account workflow is using to access the folder location so I can ensure that the appropriate user(s) have access to read data.
Below is the code I am using:
{
// Write your code here. The BoundEntryInfo property will access the entry, RASession will get the Repository Access session
DocumentInfo document = new DocumentInfo(this.Connection);
document.Create("\\OTG", "DEFAULT", EntryNameOption.AutoRename);
DocumentImporter DI = new DocumentImporter();
DI.Document = document;
DI.OcrImages = true;
DI.ImportImages("C:\\test\\OTG");
}
Note: When I change the volume to 'DEFAULT000025' which is my current volume iteration, the system throws an error of just 'Access Denied'
Error message:
Any help is much appreciated!
Thanks,
Nate