應用程式中發生了未經處理的例外。如果單擊“繼續”。。。。
檔案“C:\WEXAM\61101001\”正由另一行程使用,因此該行程無法訪問檔案。。
有關呼叫實時(JIT)除錯而不是此對話框的詳細資訊,
請參見此訊息的結尾。

************** 例外文本 **************
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 除錯器,
而不是由此對話框處理。
uj5u.com熱心網友回復:
檔案“C:\WEXAM\61101001\”正由另一行程使用,因此該行程無法訪問檔案。。-》提示的很明顯,簡單點 你需要在任務管理里 去結束 這個占用行程,復雜點 在程式里訪問的時候 查看是否有其它行程占用,如果有就結束 然后在訪問。第二種方法如果不清楚,就去學一下C# Process類的相關用法。
uj5u.com熱心網友回復:
好的,謝謝。。。已經解決uj5u.com熱心網友回復:
請問是如何解決的uj5u.com熱心網友回復:
這個怎么解決?uj5u.com熱心網友回復:
沒有任何專案代碼,也沒有任何專案實作程序直接貼個錯誤,不是很懂你是否是來解決專案問題的轉載請註明出處,本文鏈接:https://www.uj5u.com/net/74869.html
標籤:ASP.NET
上一篇:已知字串"adcdefg" C#怎么用定時器每隔1s輸出個字符?
下一篇:bingsource控制元件
