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

Question

Question

scanning issue JIT debugging

asked on June 15, 2017

I have a client that is setting up a scanner for a LF user on a computer that has never had a scanner till now. He had a scanner on a different computer in the past. They keep getting this error after setting up the scanner in the scan window. When they click Continue or Quit, it doesn't go away and they need to force quit the window.

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.DirectoryNotFoundException: Could not find a part of the path '\\kellerfile\appdata$\jyates\Application Data\Laserfiche\Scanning\Layout.en-US.xml'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.Xml.XmlTextWriter..ctor(String filename, Encoding encoding)
   at ActiproSoftware.UIStudio.Dock.DockManager.SaveToolWindowLayoutToFile(String path, Boolean saveTextProperties)
   at ActiproSoftware.UIStudio.Dock.DockManager.SaveToolWindowLayoutToFile(String path)
   at Laserfiche.Project.TabbedUI.TabbedUIForm.Form_FormClosing(Object sender, FormClosingEventArgs e)
   at System.Windows.Forms.FormClosingEventHandler.Invoke(Object sender, FormClosingEventArgs e)
   at System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e)
   at System.Windows.Forms.Form.WmClose(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at Laserfiche.BatchProcessor.UI.MainForm.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8669 (QFE.050727-8600)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
LFScan
    Assembly Version: 9.1.0.0
    Win32 Version: 9.1.1.486
    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/LFScan.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8759 (QFE.050727-8700)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5495 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Scanning.Base
    Assembly Version: 9.1.0.0
    Win32 Version: 9.1.1.486
    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/Scanning.Base.DLL
----------------------------------------
Laserfiche.Base
    Assembly Version: 9.1.0.0
    Win32 Version: 9.1.1.486
    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/Laserfiche.Base.DLL
----------------------------------------
Laserfiche.BatchProcessor
    Assembly Version: 9.1.0.0
    Win32 Version: 9.1.1.486
    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/Laserfiche.BatchProcessor.DLL
----------------------------------------
Laserfiche.Project
    Assembly Version: 9.1.0.0
    Win32 Version: 9.1.1.486
    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/Laserfiche.Project.DLL
----------------------------------------
BatchProcessor.Connection
    Assembly Version: 9.1.0.0
    Win32 Version: 9.1.1.486
    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/BatchProcessor.Connection.DLL
----------------------------------------
Interop.LFSO91Lib
    Assembly Version: 9.1.0.0
    Win32 Version: 9.1.0.0
    CodeBase: file:///C:/Windows/assembly/GAC_32/Interop.LFSO91Lib/9.1.0.0__607dd73ee2bd1c00/Interop.LFSO91Lib.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5494 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ImageControl
    Assembly Version: 9.1.0.0
    Win32 Version: 9.1.1.486
    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/ImageControl.DLL
----------------------------------------
CustomMarshalers
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
Laserfiche.BatchProcessor.UI
    Assembly Version: 9.1.0.0
    Win32 Version: 9.1.1.486
    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/Laserfiche.BatchProcessor.UI.DLL
----------------------------------------
Laserfiche.Project.TabbedUI
    Assembly Version: 1.0.1.0
    Win32 Version: 9.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/Laserfiche.Project.TabbedUI.DLL
----------------------------------------
ActiproSoftware.UIStudio.Dock.Net20
    Assembly Version: 2.0.91.0
    Win32 Version: 2.0.91.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ActiproSoftware.UIStudio.Dock.Net20/2.0.91.0__be939c973e8cb8a6/ActiproSoftware.UIStudio.Dock.Net20.dll
----------------------------------------
ActiproSoftware.WinUICore.Net20
    Assembly Version: 1.0.91.0
    Win32 Version: 1.0.91.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ActiproSoftware.WinUICore.Net20/1.0.91.0__1eba893a2bc55de5/ActiproSoftware.WinUICore.Net20.dll
----------------------------------------
ActiproSoftware.Shared.Net20
    Assembly Version: 1.0.91.0
    Win32 Version: 1.0.91.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ActiproSoftware.Shared.Net20/1.0.91.0__36ff2196ab5654b9/ActiproSoftware.Shared.Net20.dll
----------------------------------------
System.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Interop.BPIClientLib
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.0.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Interop.BPIClientLib/8.0.0.0__35de22b2ae3b724a/Interop.BPIClientLib.dll
----------------------------------------
AxInterop.LFImage91Lib
    Assembly Version: 9.1.0.0
    Win32 Version: 9.1.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/AxInterop.LFImage91Lib.DLL
----------------------------------------
Interop.LFImage91Lib
    Assembly Version: 9.1.0.0
    Win32 Version: 9.1.0.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Interop.LFImage91Lib/9.1.0.0__607dd73ee2bd1c00/Interop.LFImage91Lib.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
AxInterop.LFText91Lib
    Assembly Version: 9.1.0.0
    Win32 Version: 9.1.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/AxInterop.LFText91Lib.DLL
----------------------------------------
Interop.LFText91Lib
    Assembly Version: 9.1.0.0
    Win32 Version: 9.1.0.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Interop.LFText91Lib/9.1.0.0__607dd73ee2bd1c00/Interop.LFText91Lib.dll
----------------------------------------
AxSessionTreeLib
    Assembly Version: 1.0.0.0
    Win32 Version: 9.1.1.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/AxSessionTreeLib.DLL
----------------------------------------
SessionTreeLib
    Assembly Version: 1.0.0.0
    Win32 Version: 9.1.1.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/SessionTreeLib.DLL
----------------------------------------
Laserfiche.BatchProcessor.Processes
    Assembly Version: 9.1.0.0
    Win32 Version: 9.1.1.486
    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/Laserfiche.BatchProcessor.Processes.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

0 0

Replies

replied on June 16, 2017

Does this user have some sort of custom Windows roaming profile? Scanning saves that to the user's APPDATA folder, which usually resolves to something like C:\Users\USERNAME\AppData\Roaming.

0 0
replied on June 16, 2017

He is using a roaming profile but when we add the xml file then run scanning again it gets removed.

0 0
replied on September 13, 2018

My user is using a roaming profile as well.

 

0 0
replied on September 13, 2018

Here is the detailed error.

0 0
replied on May 13, 2019

I am having this same issue with a user who is running windows 7, laserfiche version 10.3, and is using redirected folders, not roaming profiles.

 

We upgraded his scanner, and after I installed the new scanner, we went into scanning, changed the settings to look at the new scanner, successfully scanned some pages, and then when we went to exit we received the error above. His old scanner worked without issue before I removed it.

When we go back in to scan, his new settings looking at the new scanner are not saved and he has to manually change them, and we then get the error again. The layout XML it is looking for is sitting exactly where it should be, so I tried to delete it to see if the software would re-create it, no luck, so I tried copying another user's XML file from their location and pasting it into his, and it made no difference. 

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

Sign in to reply to this post.