2012-01-31 1 views
0

j'ai un Addin Excel, écrit en C#, .NET 35 SP1 utilisant ExcelDNA, NetOffice De temps en temps les clients ont signalé mes Addin disparaissent à partir d'Excel, je vérifie qu'il est dans la liste des personnes à mobilité réduite Addin, Je l'active et ça marche encore. J'ai vérifié mon journal et j'ai vu SHException. Vous ne savez pas quelles sont les causes et comment le réparer. merciExcel Add-In lance SHException

Une chose que je remarque client a plusieurs autres addins dans Excel. A également .NET 1.1, .NET 2.0, .NET 3.0, NET 35 SP1

2012-01-31 07:10:12,672 [1] ERROR Shared.Helper [(null)] - Name:SEHException 
Message:External component has thrown an exception. 
Target:Int32 IntGetMessageW(System.Windows.Interop.MSG ByRef, System.Runtime.InteropServices.HandleRef, Int32, Int32) 
Stack: at MS.Win32.UnsafeNativeMethods.IntGetMessageW(MSG& msg, HandleRef hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax) 
    at MS.Win32.UnsafeNativeMethods.GetMessageW(MSG& msg, HandleRef hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax) 
    at System.Windows.Threading.Dispatcher.GetMessage(MSG& msg, IntPtr hwnd, Int32 minMessage, Int32 maxMessage) 
    at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) 
    at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) 
    at System.Windows.Window.ShowHelper(Object booleanBox) 
    at System.Windows.Window.Show() 
    at System.Windows.Window.ShowDialog() 
    at ExcelAddIn.Connect.ShowRefreshUI(Boolean checkForSettings, Boolean isRefreshAll) 

Répondre

Questions connexes