操作匯入或匯出..都無法執行

關於 客服軟體-客戶服務管理系統 軟體的問題發表
建議或問題回報等

操作匯入或匯出..都無法執行

文章ivy111467 » 2013年 8月 5日, 14:17

Hello..,欲操作匯入或匯出..都無法執行,皆會出現如圖的錯誤,該如何排除..


如需叫用 Just-In-Time (JIT) 偵錯的詳細資料,
請參閱本訊息結尾處 (而非這個對話方塊) 的資訊。

************** 例外狀況文字 **************
System.AccessViolationException: 嘗試讀取或寫入受保護的記憶體。這通常表示其他記憶體已損毀。
於 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
於 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
於 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
於 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
於 System.Windows.Forms.Application.RunDialog(Form form)
於 System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
於 System.Windows.Forms.Form.ShowDialog()
於 System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
於 System.Windows.Forms.Control.WndProcException(Exception e)
於 System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
於 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
於 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
於 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
於 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
於 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
於 System.Windows.Forms.Application.RunDialog(Form form)
於 System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
於 System.Windows.Forms.Form.ShowDialog()
於 au.ah(Object A_0, EventArgs A_1)
於 System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
於 System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
於 System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
於 System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
於 System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
於 System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
於 System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
於 System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
於 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
於 System.Windows.Forms.Control.WndProc(Message& m)
於 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
於 System.Windows.Forms.ToolStrip.WndProc(Message& m)
於 System.Windows.Forms.ToolStripDropDown.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
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.5472 (Win7SP1GDR.050727-5400)
程式碼基底: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
客戶服務管理系統
組件版本: 2.4.0.0
Win32 版本: 2.4.0.0
程式碼基底: file:///D:/咪咪軟體/帳務小管家%20Zero/service/service/客戶服務管理系統.exe
----------------------------------------
Microsoft.VisualBasic
組件版本: 8.0.0.0
Win32 版本: 8.0.50727.5420 (Win7SP1.050727-5400)
程式碼基底: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
程式碼基底: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
程式碼基底: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
程式碼基底: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
程式碼基底: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.5473 (Win7SP1GDR.050727-5400)
程式碼基底: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.5473 (Win7SP1GDR.050727-5400)
程式碼基底: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.VisualBasic.Compatibility
組件版本: 8.0.0.0
Win32 版本: 8.0.50727.5420
程式碼基底: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic.Compatibility/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.Compatibility.dll
----------------------------------------
System.Windows.Forms.resources
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
程式碼基底: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHT_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
System.Data
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
程式碼基底: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Data.resources
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
程式碼基底: file:///C:/Windows/assembly/GAC_MSIL/System.Data.resources/2.0.0.0_zh-CHT_b77a5c561934e089/System.Data.resources.dll
----------------------------------------
mscorlib.resources
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.5472 (Win7SP1GDR.050727-5400)
程式碼基底: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
dao
組件版本: 10.0.4504.0
Win32 版本: 10.0.4504
程式碼基底: file:///C:/Windows/assembly/GAC/dao/10.0.4504.0__31bf3856ad364e35/dao.dll
----------------------------------------
Microsoft.VisualBasic.resources
組件版本: 8.0.0.0
Win32 版本: 8.0.50727.4927 (NetFXspW7.050727-4900)
程式碼基底: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_zh-CHT_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll
----------------------------------------
System.Transactions
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
程式碼基底: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
程式碼基底: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Accessibility
組件版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
程式碼基底: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT 偵錯 **************
若要啟用 Just-In-Time (JIT) 偵錯功能,則必須在
此應用程式或電腦的 .config 檔案中,設定
system.windows.forms 區段內的 jitDebugging 值。
且該應用程式也必須在啟用偵錯的狀態下進行
編譯。

例如:

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

當 JIT 偵錯功能啟用後,會將所有未處理的例外
狀況傳送給電腦上已註冊的 JIT 偵錯工具進行處
理,而不是使用這個對話方塊來處理。
ivy111467
 
文章: 13
註冊時間: 2012年 12月 24日, 15:22

Re: 操作匯入或匯出..都無法執行

文章o慕雲o » 2013年 8月 5日, 14:21

ivy111467 寫:Hello..,欲操作匯入或匯出..都無法執行,皆會出現如圖的錯誤,該如何排除..


如需叫用 Just-In-Time (JIT) 偵錯的詳細資料,
請參閱本訊息結尾處 (而非這個對話方塊) 的資訊。

************** 例外狀況文字 **************
System.AccessViolationException: 嘗試讀取或寫入受保護的記憶體。這通常表示其他記憶體已損毀。


您好
客戶服務管理系統並無匯入與匯出功能(只有從 EXCEL 檔匯入)
請問您是執行那一個功能時會出現這個訊息呢?
頭像
o慕雲o
系統管理員
 
文章: 17812
註冊時間: 2011年 8月 13日, 22:05

Re: 操作匯入或匯出..都無法執行

文章ivy111467 » 2013年 8月 5日, 14:36

資料庫->記錄資料匯入作業
資料庫->記錄資料匯出作業
操作以上2個作業都會出現這樣的錯誤...>,<
ivy111467
 
文章: 13
註冊時間: 2012年 12月 24日, 15:22

Re: 操作匯入或匯出..都無法執行

文章o慕雲o » 2013年 8月 5日, 14:54

ivy111467 寫:資料庫->記錄資料匯入作業
資料庫->記錄資料匯出作業
操作以上2個作業都會出現這樣的錯誤...>,<


您好
剛剛我們測試了一下我們這邊是正常不會顯示錯誤
於是我有到網路上搜尋了一下
其原因是程式所使用的 DLL 檔與您電腦中的 DLL 檔衝突了(俗稱 DLL 地域)
因這個問題並無法從程式中解決(因不知程式跟您的電腦的那個檔案衝突了)
所以這部份可能要請您測試一下
請您將您的客戶服務管理系統程式目錄內的以下 DLL 檔案先移動到其他地方(要用剪下方式)
AxInterop.MSChart20Lib.dll
Interop.ADOX.dll
Interop.MSChart20Lib.dll
Interop.MSScriptControl.dll
Microsoft.Office.Interop.Excel.dll
Microsoft.Vbe.Interop.dll
msdatasrc.dll
office.dll
shdocvw.dll
======================(以上為所有的 DLL 檔,但只保留 dao.dll 沒移動)

然後當您將上面的 DLL 檔移動到其他目錄後
然後再試著進入程式進行 [記錄匯入] 與 [記錄匯出] 動作看看
看會不會發生錯誤訊息
如果不會的話再請您依序試著再把那些 DLL 檔案 COPY 回客戶服務管理系統的目錄內(每移動回一個 DLL 檔就執行匯入匯出一次)
之後再看看是那一個 DLL 檔與您的電腦衝突了
頭像
o慕雲o
系統管理員
 
文章: 17812
註冊時間: 2011年 8月 13日, 22:05

Re: 操作匯入或匯出..都無法執行

文章m416325 » 2013年 9月 14日, 13:52

登入後要開始建立客戶資料就不能使用了,出現與上述同伴一樣的訊息.......
但我不曾匯出或匯入資料 :( :( :(
m416325
 
文章: 4
註冊時間: 2013年 9月 10日, 00:03

Re: 操作匯入或匯出..都無法執行

文章o慕雲o » 2013年 9月 14日, 14:42

m416325 寫:登入後要開始建立客戶資料就不能使用了,出現與上述同伴一樣的訊息.......
但我不曾匯出或匯入資料 :( :( :(


您好
此問題與 DLL 的版本衝突有關
請您試著先把 客服軟體 目錄裡面的所有 DLL 移至其他地方
然後一個一個放進去測試看看
頭像
o慕雲o
系統管理員
 
文章: 17812
註冊時間: 2011年 8月 13日, 22:05


回到 【客服軟體】客戶服務管理系統-軟體討論區

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 4 位訪客

cron