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

Question

Question

unhandled exception when clicking the Scan icon

asked on December 4, 2019

New here!smiley

One of my end users is getting the attached dialog box when he tries to scan in Laserfiche.   It does allow me to go on and scan, but this pops up each time he clicks the scanner button.

 

We are running Laserfiche version 10.3.1.502

 

Enclosed in the box is the following details:

 

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.ArgumentOutOfRangeException: Value of '-1' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.

Parameter name: Value

   at System.Windows.Forms.ScrollBar.set_Value(Int32 value)

   at Laserfiche.UI.EditPanel.EditPanelContainer.UpdateLayout()

   at Laserfiche.UI.Properties.PropertyEditPanelContainer.RequestLayoutUpdate(Boolean hideUpdate)

   at Laserfiche.UI.EditPanel.EditPanelContainer.RequestLayoutUpdate()

   at Laserfiche.UI.EditPanel.EditPanel.EditControl_WidthChanged(Object sender, ChangedEventArgs`1 e)

   at Laserfiche.UI.EditPanel.EditPanelControlBase.HandleSizeChanged()

   at Laserfiche.UI.EditPanel.EditPanelControlBase.OnResize(EventArgs e)

   at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)

   at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)

   at System.Windows.Forms.Control.UpdateBounds()

   at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

   at System.Windows.Forms.ContainerControl.WndProc(Message& m)

   at System.Windows.Forms.UserControl.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: 4.0.0.0

    Win32 Version: 4.8.4018.0 built by: NET48REL1LAST_C

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

----------------------------------------

LFScan

    Assembly Version: 9.1.0.0

    Win32 Version: 10.3.1.306

    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/LFScan.exe

----------------------------------------

System.Windows.Forms

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Drawing

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.3752.0 built by: NET48REL1

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

Laserfiche.Base

    Assembly Version: 9.1.0.0

    Win32 Version: 10.3.1.275

    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/Laserfiche.Base.DLL

----------------------------------------

Scanning.Base

    Assembly Version: 9.1.0.0

    Win32 Version: 10.3.1.275

    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/Scanning.Base.DLL

----------------------------------------

Laserfiche.BatchProcessor

    Assembly Version: 9.1.0.0

    Win32 Version: 10.3.1.275

    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/Laserfiche.BatchProcessor.DLL

----------------------------------------

Laserfiche.Project

    Assembly Version: 9.1.0.0

    Win32 Version: 10.3.1.275

    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/Laserfiche.Project.DLL

----------------------------------------

System.Configuration

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.3752.0 built by: NET48REL1

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Core

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.4018.0 built by: NET48REL1LAST_C

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

System.Xml

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.3752.0 built by: NET48REL1

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

BatchProcessor.Connection

    Assembly Version: 9.1.0.0

    Win32 Version: 10.3.1.306

    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/BatchProcessor.Connection.DLL

----------------------------------------

Interop.LFSO103Lib

    Assembly Version: 10.3.0.0

    Win32 Version: 10.3.0.0

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/Interop.LFSO103Lib/v4.0_10.3.0.0__607dd73ee2bd1c00/Interop.LFSO103Lib.dll

----------------------------------------

ImageControl

    Assembly Version: 9.1.0.0

    Win32 Version: 10.3.1.275

    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/ImageControl.DLL

----------------------------------------

CustomMarshalers

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.3752.0 built by: NET48REL1

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/CustomMarshalers/v4.0_4.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll

----------------------------------------

Laserfiche.BatchProcessor.UI

    Assembly Version: 9.1.0.0

    Win32 Version: 10.3.1.306

    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/Laserfiche.BatchProcessor.UI.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

----------------------------------------

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: 4.0.0.0

    Win32 Version: 4.8.3752.0 built by: NET48REL1

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll

----------------------------------------

AxInterop.LFImage103Lib

    Assembly Version: 10.3.0.0

    Win32 Version: 10.3.0.0

    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/AxInterop.LFImage103Lib.DLL

----------------------------------------

Interop.LFImage103Lib

    Assembly Version: 10.3.0.0

    Win32 Version: 10.3.0.0

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Interop.LFImage103Lib/10.3.0.0__607dd73ee2bd1c00/Interop.LFImage103Lib.dll

----------------------------------------

Accessibility

    Assembly Version: 4.0.0.0

    Win32 Version: 4.8.3752.0 built by: NET48REL1

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

----------------------------------------

AxInterop.LFText103Lib

    Assembly Version: 10.3.0.0

    Win32 Version: 10.3.0.0

    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/AxInterop.LFText103Lib.DLL

----------------------------------------

Interop.LFText103Lib

    Assembly Version: 10.3.0.0

    Win32 Version: 10.3.0.0

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Interop.LFText103Lib/10.3.0.0__607dd73ee2bd1c00/Interop.LFText103Lib.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: 10.3.1.275

    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/Laserfiche.BatchProcessor.Processes.DLL

----------------------------------------

Laserfiche.FieldsViewer

    Assembly Version: 10.3.0.0

    Win32 Version: 10.3.0.0

    CodeBase: file:///C:/Program%20Files%20(x86)/Laserfiche/Client/Scanning/Laserfiche.FieldsViewer.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.

1 0

Answer

SELECTED ANSWER
replied on December 5, 2019

Hi Emily, welcome to Laserfiche Answers! 

Please try clearing all the user attributes for the user and then see if the issue still occurs. You can find instructions on how to clear the user attributes in the following whitepaper: https://answers.laserfiche.com/files/downloader/40330. Jump to page 10 and follow the instructions in the section titled "Deleting Trustee Attributes". 

1 0

Replies

replied on December 6, 2019

Thank you for the information!  I can't find anything within the user attributes that related to the error message: "System.ArgumentOutOfRangeException: Value of '-1' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'."

Could this be related to the user changing a default paper size or border size?  I feel like maybe they accidentally changed a value somewhere in their user settings.  Again, I am not familiar with this software so I can use all the help I can get!  Thanks in advance!

1 0
replied on December 8, 2019

Yes, it's likely related to a value they changed like the ones you mentioned, but it's hard to be sure which. In this case, it's likely easier to just clear all  the attributes for that user instead of trying to hunt down which one is related to this issue. Unless of course it becomes a recurring issue. 

3 0
replied on December 17, 2019

Thanks Tessa!  That worked!

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

Sign in to reply to this post.