Foxtable(狐表)用户栏目专家坐堂 → [求助]扫描仪保存文件时报错


  共有5183人关注过本帖树形打印复制链接

主题:[求助]扫描仪保存文件时报错

帅哥哟,离线,有人找我吗?
天一生水
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:五尾狐 帖子:1140 积分:11255 威望:0 精华:0 注册:2017/9/26 16:30:00
[求助]扫描仪保存文件时报错  发帖心情 Post By:2022/8/29 8:24:00 [只看该作者]

老师好!

扫描仪调出没有问题,扫描动作完成后点击确定时弹出错误,请老师看看怎样处理。谢谢!

 


此主题相关图片如下:截屏图片.jpg
按此在新窗口浏览图片

 下载信息  [文件大小:   下载次数: ]
点击浏览该文件:2018-2-24新图片管理器加入拍照扫描.zip

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: 系统找不到指定的路径。 (Exception from HRESULT: 0x80070003)
   at WIA.ImageFileClass.SaveFile(String Filename)
   at UserCode.LinkLabel1_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Label.WndProc(Message& m)
   at System.Windows.Forms.LinkLabel.WndProc(Message& msg)
   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.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Foxtable
    Assembly Version: 2022.8.18.1
    Win32 Version: 2022.08.18.01
    CodeBase: file:///C:/foxtable/Normal/foxtable.exe
----------------------------------------
Foxtable.Lib
    Assembly Version: 2022.7.13.1
    Win32 Version: 2022.07.13.1
    CodeBase: file:///C:/foxtable/Normal/Foxtable.Lib.DLL
----------------------------------------
ActiproSoftware.Text.WinForms
    Assembly Version: 22.1.3.0
    Win32 Version: 22.1.3.0
    CodeBase: file:///C:/foxtable/Normal/ActiproSoftware.Text.WinForms.DLL
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ActiproSoftware.Shared.WinForms
    Assembly Version: 22.1.3.0
    Win32 Version: 22.1.3.0
    CodeBase: file:///C:/foxtable/Normal/ActiproSoftware.Shared.WinForms.DLL
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 14.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
C1.Win.C1Ribbon.4
    Assembly Version: 4.0.20191.359
    Win32 Version: 4.0.20191.359
    CodeBase: file:///C:/foxtable/Normal/C1.Win.C1Ribbon.4.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ActiproSoftware.Text.Addons.DotNet.WinForms
    Assembly Version: 22.1.3.0
    Win32 Version: 22.1.3.0
    CodeBase: file:///C:/foxtable/Normal/ActiproSoftware.Text.Addons.DotNet.WinForms.DLL
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
ActiproSoftware.SyntaxEditor.Addons.DotNet.WinForms
    Assembly Version: 22.1.3.0
    Win32 Version: 22.1.3.0
    CodeBase: file:///C:/foxtable/Normal/ActiproSoftware.SyntaxEditor.Addons.DotNet.WinForms.DLL
----------------------------------------
ActiproSoftware.SyntaxEditor.WinForms
    Assembly Version: 22.1.3.0
    Win32 Version: 22.1.3.0
    CodeBase: file:///C:/foxtable/Normal/ActiproSoftware.SyntaxEditor.WinForms.DLL
----------------------------------------
ActiproSoftware.Text.LLParser.WinForms
    Assembly Version: 22.1.3.0
    Win32 Version: 22.1.3.0
    CodeBase: file:///C:/foxtable/Normal/ActiproSoftware.Text.LLParser.WinForms.DLL
----------------------------------------
Interop.JinDI_SmsComLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/foxtable/Normal/Interop.JinDI_SmsComLib.DLL
----------------------------------------
C1.Win.C1Command.4
    Assembly Version: 4.0.20191.359
    Win32 Version: 4.0.20191.359
    CodeBase: file:///C:/foxtable/Normal/C1.Win.C1Command.4.DLL
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.Management
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
C1.Win.C1Themes.4
    Assembly Version: 4.0.20183.338
    Win32 Version: 4.0.20183.338
    CodeBase: file:///C:/foxtable/Normal/C1.Win.C1Themes.4.DLL
----------------------------------------
C1.Win.4
    Assembly Version: 4.0.20191.359
    Win32 Version: 4.0.20191.359
    CodeBase: file:///C:/foxtable/Normal/C1.Win.4.DLL
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
C1.C1Zip.4
    Assembly Version: 4.0.20183.338
    Win32 Version: 4.0.20183.338
    CodeBase: file:///C:/foxtable/Normal/C1.C1Zip.4.DLL
----------------------------------------
System.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
C1.Win.C1FlexGrid.4
    Assembly Version: 4.0.20191.359
    Win32 Version: 4.0.20191.359
    CodeBase: file:///C:/foxtable/Normal/C1.Win.C1FlexGrid.4.DLL
----------------------------------------
C1.Win.C1Input.4
    Assembly Version: 4.0.20191.359
    Win32 Version: 4.0.20191.359
    CodeBase: file:///C:/foxtable/Normal/C1.Win.C1Input.4.DLL
----------------------------------------
图片管理器加入拍照扫描.Public
    Assembly Version: 0.0.0.0
    Win32 Version: 2022.08.18.01
    CodeBase: file:///C:/foxtable/Normal/foxtable.exe
----------------------------------------
图片管理器加入拍照扫描.Project
    Assembly Version: 0.0.0.0
    Win32 Version: 2022.08.18.01
    CodeBase: file:///C:/foxtable/Normal/foxtable.exe
----------------------------------------
Interop.MSScriptControl
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/foxtable/Normal/Interop.MSScriptControl.DLL
----------------------------------------
Neodynamic.WinControls.BarcodeProfessional
    Assembly Version: 10.0.2000.0
    Win32 Version: 10.0.2018.508
    CodeBase: file:///C:/foxtable/Normal/Neodynamic.WinControls.BarcodeProfessional.DLL
----------------------------------------
图片管理器加入拍照扫描.Function
    Assembly Version: 0.0.0.0
    Win32 Version: 2022.08.18.01
    CodeBase: file:///C:/foxtable/Normal/foxtable.exe
----------------------------------------
Foxtable.Ribbon
    Assembly Version: 0.0.0.0
    Win32 Version: 2022.08.18.01
    CodeBase: file:///C:/foxtable/Normal/foxtable.exe
----------------------------------------
图片管理器加入拍照扫描.Form.99466ae5
    Assembly Version: 0.0.0.0
    Win32 Version: 2022.08.18.01
    CodeBase: file:///C:/foxtable/Normal/foxtable.exe
----------------------------------------
C1.Win.C1Chart.4
    Assembly Version: 4.0.20191.359
    Win32 Version: 4.0.20191.359
    CodeBase: file:///C:/foxtable/Normal/C1.Win.C1Chart.4.DLL
----------------------------------------
DirectX.Capture
    Assembly Version: 1.0.5047.29294
    Win32 Version: 1.0.5047.29294
    CodeBase: file:///C:/foxtable/Normal/DirectX.Capture.DLL
----------------------------------------
图片管理器加入拍照扫描.Public
    Assembly Version: 0.0.0.0
    Win32 Version: 2022.08.18.01
    CodeBase: file:///C:/foxtable/Normal/foxtable.exe
----------------------------------------
Office2007Renderer
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/foxtable/Normal/Office2007Renderer.DLL
----------------------------------------
og4pvmj3
    Assembly Version: 0.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Design
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
System.Drawing.Design
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll
----------------------------------------
图片管理器加入拍照扫描.Public
    Assembly Version: 0.0.0.0
    Win32 Version: 2022.08.18.01
    CodeBase: file:///C:/foxtable/Normal/foxtable.exe
----------------------------------------
1t3tkdpg
    Assembly Version: 0.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
图片管理器加入拍照扫描.Form.99466ae5
    Assembly Version: 0.0.0.0
    Win32 Version: 2022.08.18.01
    CodeBase: file:///C:/foxtable/Normal/foxtable.exe
----------------------------------------
Interop.WIA
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/foxtable/Normal/Interop.WIA.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.


 


 回到顶部
帅哥,在线噢!
有点蓝
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107664 积分:547635 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2022/8/29 8:41:00 [只看该作者]

提示很明显了:System.IO.DirectoryNotFoundException: 系统找不到指定的路径

也就是保存文件的时候,这个保存的路径不存在。
1、注意要使用绝对路径
2、这个路径所有的文件夹必须已经存在,如果不存在,需要先创建文件夹

 回到顶部
帅哥哟,离线,有人找我吗?
天一生水
  3楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:五尾狐 帖子:1140 积分:11255 威望:0 精华:0 注册:2017/9/26 16:30:00
  发帖心情 Post By:2022/8/29 9:04:00 [只看该作者]

谢谢!

 回到顶部