Hi,
I am getting this exception when i try to export any doc , i am using export script (VB) . I know i can change that in registry.
I am using windows server 2012 and i can't find Controller or particular registry key in given path.
"
HKEY_CURRENT_USER\Software\ABBYY\FlexiCapture\10.0\Controller\ScriptSupport\DefaultScriptTimeout "
Can anyone help me out?
Thanks in advance
I am getting this exception when i try to export any doc , i am using export script (VB) . I know i can change that in registry.
I am using windows server 2012 and i can't find Controller or particular registry key in given path.
"
HKEY_CURRENT_USER\Software\ABBYY\FlexiCapture\10.0\Controller\ScriptSupport\DefaultScriptTimeout "
Can anyone help me out?
Thanks in advance
Comments
3 comments
The path you listed is correct. The registry is not there by default. You need to create a new key for the Controller and ScriptSupport branches. Then create a new string value for the DefaultScripttimeout in the Scriptsupport branch
I used only one account (admin) to install abbyy servers and use same account for form processing. I changed registry setting to DefaultExportScript = 50,000 (tried from 2 mins to 10 mins) , still i get error execution exception in script.
My VB export script is 70 lines long (i am generating color OCRed PDF files and xml file )and i try to export 25 page doc. And every time i export same doc but the line where exception occurs differs, mostly occurs in bottom lines of script when i create xml file.
part of script where problem occurs
dim XMLfileName, XMLfile
XMLfileName = fileName&".xml"
Set XMLFile = fso.CreateTextFile(XMLfileName, True)
XMLFile.WriteLine "ocuments xmlns:form="">ocuments>
XMLFile.WriteLine "xmlns:addData=""http://www.abbyy.com/FlexiCapture/Schemas/Export/AdditionalFormData.xsd"">"
XMLFile.WriteLine " <_doctypesdocdef:_doctypesdocdef adddata:imagepath="" "="" &="" filename="" &="" ".pdf"="" &="" """="">
XMLFile.WriteLine "xmlns:_DocTypesDocDef=""http://www.abbyy.com/FlexiCapture/Schemas/Export/DocTypesDocDef.xsd"">"
XMLFile.WriteLine " <_document_section_1>"
XMLFile.WriteLine " <_staffid>"& RegParam & ""
XMLFile.WriteLine " <_documenttype>" & folderNameLevel2 & ""
XMLFile.WriteLine " "
<_DocTypesDocDef:_DocTypesDocDef> XMLFile.WriteLine " "
ocuments> XMLFile.WriteLine "ocuments>"
XMLFile.Close
'Set XMLFile = Nothing
'Set fso = Nothing
Attaching reg edit image for reference.
Please sign in to leave a comment.