Hi everyone,
We have a process where a system takes a file and put in a network folder, where Import Agent get it and import to laserfiche. I don't know why there are some files that gives an error showed below. In general from 4 files that I sent throuth this way, 3 gives the error and automatically are moved to the "error" folder of Import Agent. If I take those files and put in again to the root folder where import agent gets the file, the file is imported perfectly. So I don't know why is giving this error of entry lock. Do any of you have any idea or clue why is giving the entry lock in the file?
We use Import Agent 10 in a Windows Server 2012.
Log Name: Application
Source: Laserfiche Import Agent Service
Date: 8/17/2016 5:24:19 PM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: MARLENE.arqdigital.local
Description:
There was an error running the profile Teste_documento_gray while importing the file "\\takami\Serviços\DocumentoDigital\PDFGrayScale\847694.17082016.163454_DETRAN-AM (ELISA CAMPOS RIBEIRO ZAGO).pdf". (The entry is locked and cannot be modified, or the object needs to be refreshed before it can be updated. [9063])
at Laserfiche.RepositoryAccess.Document.InsertPage(HttpUrl url, Int32 pageNumber, String lockToken, Session session)
at Laserfiche.RepositoryAccess.DocumentInfo.AppendPage()
at Laserfiche.PdfServices.PdfExtractor.ImportPDFPagesFromStream(Stream pdfStream, DocumentInfo doc)
at Laserfiche.PdfServices.PdfExtractor.ImportPDFStream(Stream pdfStream, DocumentInfo doc, DateTime dtLastModified)
at Laserfiche.PdfServices.PdfExtractor.ImportPDFFile(String strPDFFile, DocumentInfo doc)
at Laserfiche.ImportAgent.Service.ExecuteProfileFile.ImportPDFFile(ExecutionContext context, DocumentInfo LFDoc, FileInfo fi, Profile profile)
at Laserfiche.ImportAgent.Service.ExecuteProfileElectFile.ImportFile(ExecutionContext context)
at Laserfiche.ImportAgent.Service.ExecuteProfileFile.Execute(ExecutionContext context) (9063)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Laserfiche Import Agent Service" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2016-08-17T20:24:19.000000000Z" />
<EventRecordID>3094006</EventRecordID>
<Channel>Application</Channel>
<Computer>MARLENE.arqdigital.local</Computer>
<Security />
</System>
<EventData>
<Data>There was an error running the profile Teste_documento_gray while importing the file "\\takami\Serviços\DocumentoDigital\PDFGrayScale\847694.17082016.163454_DETRAN-AM (ELISA CAMPOS RIBEIRO ZAGO).pdf". (The entry is locked and cannot be modified, or the object needs to be refreshed before it can be updated. [9063])
at Laserfiche.RepositoryAccess.Document.InsertPage(HttpUrl url, Int32 pageNumber, String lockToken, Session session)
at Laserfiche.RepositoryAccess.DocumentInfo.AppendPage()
at Laserfiche.PdfServices.PdfExtractor.ImportPDFPagesFromStream(Stream pdfStream, DocumentInfo doc)
at Laserfiche.PdfServices.PdfExtractor.ImportPDFStream(Stream pdfStream, DocumentInfo doc, DateTime dtLastModified)
at Laserfiche.PdfServices.PdfExtractor.ImportPDFFile(String strPDFFile, DocumentInfo doc)
at Laserfiche.ImportAgent.Service.ExecuteProfileFile.ImportPDFFile(ExecutionContext context, DocumentInfo LFDoc, FileInfo fi, Profile profile)
at Laserfiche.ImportAgent.Service.ExecuteProfileElectFile.ImportFile(ExecutionContext context)
at Laserfiche.ImportAgent.Service.ExecuteProfileFile.Execute(ExecutionContext context) (9063)</Data>
</EventData>
</Event>