Hi, a scanning newbie here. I am trying to use ClientAutomation to scan an image into a LF document (see code below). LaunchScanning command throws an exception "Error reading Laserfiche scanning version". Am I missing some runtime setup or something like that ? Or is the client missing any info ?
using (DocumentInfo docInfo = new DocumentInfo(_session)) { docInfo.Create(folderInfo, docName, EntryNameOption.AutoRename); docInfo.SetTemplate("template"); docInfo.SetFieldValues(docFields.GetForLF()); docInfo.Save(); docId = docInfo.Id; //var conn = _session.GetSerializedConnectionString(9d); var scanOptions = new ScanOptions { //ConnectionString = _session.GetSerializedConnectionString(9), ServerName = _repositoryRegistration.ServerName, RepositoryName = _repositoryRegistration.Name, UserName = _user, Password = _pswd, IsDocument = true, EntryId = docInfo.Id, InsertPagesAt = (int)InsertAt.End, ScanMode = ScanMode.Standard, WaitForExit = true, CloseAfterStoring = true }; using (var client = new ClientManager()) { client.LaunchScanning(scanOptions); } }
thanks
R