选择频道 点击选择频道
.NET Conf China
全部
招聘
社区公告
寻找 .NET 技术达人
.NET Framework
.NET Core
微服务
.NET5 / 6
.NET技术前瞻
VC
.NET技术其他语言
ASP_NET
EF
EF Core
Web Services
桌面应用
VB
图表区
前端
博文收录
分析与设计
Ada助手
组件/控件开发
AppLauncher
圈内交友

急!!!应用程序中发生了未经处理的异常。如果单击“继续”。。。

2017-06-06
应用程序中发生了未经处理的异常。如果单击“继续”。。。。
文件“C:\WEXAM\61101001\”正由另一进程使用,因此该进程无法访问文件。。
************** 异常文本 **************
System.IO.IOException: 文件“C:\WEXAM\61101001\”正由另一进程使用,因此该进程无法访问此文件。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
在 System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
在 System.IO.Directory.Delete(String path, Boolean recursive)
在 NewConcept.OperationForm.OperationForm_Load(Object sender, EventArgs e)
在 System.Windows.Forms.Form.OnLoad(EventArgs e)
在 System.Windows.Forms.Form.OnCreateControl()
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.Control.CreateControl()
在 System.Windows.Forms.Control.WmShowWindow(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
在 System.Windows.Forms.Form.WmShowWindow(Message& m)
在 System.Windows.Forms.Form.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 已加载的程序集 **************
mscorlib
程序集版本:4.0.0.0
Win32 版本:4.6.1648.0 built by: NETFXREL3STAGE
基本代码:file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
NewConcept
程序集版本:1.0.0.0
Win32 版本:1.0.0.0
基本代码:file:///C:/NCRESJ/CA/NewConcept.exe
----------------------------------------
System.Windows.Forms
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
程序集版本:4.0.0.0
Win32 版本:4.6.1647.0 built by: NETFXREL3STAGE
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
程序集版本:4.0.0.0
Win32 版本:4.6.1647.0 built by: NETFXREL3STAGE
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Data
程序集版本:4.0.0.0
Win32 版本:4.6.1636.0 built by: NETFXREL3STAGE
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Windows.Forms.resources
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
启用 JIT 调试后,任何未经处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。
13970 6 打赏
全部评论
这个怎么解决?
2020-01-23
没有任何项目代码,也没有任何项目实现过程直接贴个错误,不是很懂你是否是来解决项目问题的
2020-01-23
请问是如何解决的
2017-08-29
好的,谢谢。。。已经解决
2017-06-08
文件“C:\WEXAM\61101001\”正由另一进程使用,因此该进程无法访问文件。。 -》提示的很明显,简单点 你需要在任务管理里 去结束 这个占用进程,复杂点 在程序里访问的时候 查看是否有其它进程占用,如果有就结束 然后在访问。第二种方法如果不清楚,就去学一下C# Process类的相关用法。
2017-06-06
——到底了——
说点什么…