コミュニティ

script execution timeout

Hello every one:
sometimes when I scan the pdf ,it well occur scan time out ,and in Document Definition export setting tab I use VBScript to export the document to pdf and XML files,the issue also occur,
show the error message :" script execution timeout"
how to solve this problem?

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

9件のコメント

  • Avatar
    Permanently deleted user


    By default, there is a script execution timeout for export of 30seconds. You might want to check why your export script is taking so long and fix that. Otherwise if it really does need a longer timeout, check out the help file under Appendix > Using Scripts in ABBYY FlexiCapture. It tells you how to change the timeout. Basically you need to modify the registry in HKEY_CURRENT_USERS\Software\ABBYY\FlexiCapture\11.0\Controller\ScriptSupport\DefaultScriptTimeout

    A couple caveat is that this timeout setting is only for JScript and VBScript and it needs to but under the registry the user that is doing the export.
    0
  • Avatar
    Permanently deleted user
    Hello Sushi:
    thanks for your help, I check the DefaultScriptTimeout value ,it set 500000 before,and I use VBScript ADODB.Stream to write the XML,I don't know which issue cause the problem,did the pdf exprot issue?As I export the XML file ,also export the document to PDF.
    0
  • Avatar
    Permanently deleted user
    from my test ,seems export to PDF issue ,but in my project it can't write XML first ,need export PDF first.So any method to solve this problem?
    0
  • Avatar
    Anastasiya Nechaeva
    Hello,

    For FC distributed please make sure that DefaultScriptTimeout setting is enabled on each processing station which you use for export.

    In case if you are trying to export PDF with a text layer, it may take a lot of time to OCR it and create a PDF. Please try to export PDF without text layer in order to understand is your issue connected to PDF save function or not.
    0
  • Avatar
    Permanently deleted user
    Hello, For FC distributed please make sure that DefaultScriptTimeout setting is enabled on each processing station which you use for export. In case if you are trying to export PDF with a text layer, it may take a lot of time to OCR it and create a PDF. Please try to export PDF without text layer in order to understand is your issue connected to PDF save function or not.

    sorry ,I 'm not clear what you mean ,how to check whether each processing station has enabled the DefaultScriptTimeout.and how to export the PDF without text layout.
    0
  • Avatar
    Permanently deleted user
    Basically look in your Windows service. (services.msc). You should see a ABBYY FlexiCapture 11 Processing station. Look at the Log On As column. What is the credential. In most case it will be Network Service by default. You might want to google this but I think Network Service is S-1-5-20. In which case, you need to go to Hkey_Users\S-1-5-20\... and the rest of the registry to edit the time out.

    If you are using some other credential, google how to get their SID. Otherwise just log into the account and edit the registry from there. When you login with the account, the registry is HKEY_CURRENT_USER.
    0
  • Avatar
    Permanently deleted user
    Hi,I check the credential,it is NetWork Servise,but I edit the DefaultScriptTimeOut one,both HKey_Users and HKEY_CURENT_USER change together,and it seems not work well.
    0
  • Avatar
    Permanently deleted user
    and also I check other client PC ,on their site ,I can't find any DefaultScriptTimeOut setting in registry,that's why?
    0
  • Avatar
    Permanently deleted user
    Its not in the registry. You have to create it.
    0

サインインしてコメントを残してください。