"The process was terminated due to an unhandled exception". error when applying changes in Project Setup station

Symptoms

When the customer made changes to the project and clicks apply button, the Project Setup Station closes unexpectedly and throws the below error in the event viewer.

 

Application: FlexiCapture.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ComponentModel.Win32Exception
at Microsoft.Win32.NativeMethods.CreateDirectory(System.String, Microsoft.Win32.SafeHandles.SafeLocalMemHandle)
at System.CodeDom.Compiler.TempFileCollection.CreateTempDirectoryWithAce(System.String, System.String)
at System.CodeDom.Compiler.TempFileCollection.GetTempFileName(System.String)
at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
at System.CodeDom.Compiler.TempFileCollection.AddExtension(System.String, Boolean)
at Microsoft.CSharp.CSharpCodeGenerator.FromDomBatch(System.CodeDom.Compiler.CompilerParameters, System.CodeDom.CodeCompileUnit[])
at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromDomBatch(System.CodeDom.Compiler.CompilerParameters, System.CodeDom.CodeCompileUnit[])
at <Module>.DotNetScriptingSupport.CDomain.CompileProcedure(DotNetScriptingSupport.CDomain*, FObj.CUnicodeString*, FObj.CUnicodeString*, DotNetScriptingSupport.ICompilerParams*, FObj.CArray<DotNetScriptingSupport::CCompilerError,FObj::CurrentMemoryManager>*)

Cause

  1.  There is a knows bug that is fixed in FlexiCapture 12.0.3.4175
  2.  If a newer version is used there might be an issue where FlexiCapture is not able to access the temp folder

 

Resolution

  1. If you use a lower version of FlexiCapture than 12.0.3.4175, please update it to the latest build
    You can download the latest build via the link:
    https://www.abbyy.com/flexicapture-downloads/distributed-invoices/
  2. In case you already use a version that is higher than 12.0.3.4175, please perform the following:
    1. Navigate to the following path: %LOCALAPPDATA%\Temp
    2. Delete all files located in this folder
    3. Stop all processes inside FlexiCapture (Such as processing batches, import documents etc.)
    4. Restart the machine

 

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.