You are viewing limited content. For full access, please sign in.

Question

Question

Entry Lock Import Agent 10

asked on August 17, 2016 Show version history

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>

0 0

Answer

SELECTED ANSWER
replied on August 19, 2016

For the benefit of other users, this was resolved by  "Configuring File Monitoring Options > Options > File monitoring interval =30 seconds, New files = 30 seconds.

https://www.laserfiche.com/support/webhelp/Laserfiche/10/en-US/administration/#../Subsystems/ImportAgent/Content/Configuring-File-Monitoring-Options.htm?Highlight="file monitoring interval"

3 0

Replies

replied on August 17, 2016

The error might be have different root causes , such as the files being lock by the third party application that create them or the options setup for processing/post-processing. It is recommended to open a case with Support. 

Important information to submit along the case:

-Copy of the IA profile (which includes all settings within the profile).

-Copy of the some of the affected files  (*.pdf)

-Copy of the application event log in evtx format from the IA server machine. 

0 0
replied on August 18, 2016

Hi Shule,

Okay, I will open a support case with those information.

Thanks

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.