Outlook Crash with 3.2

Add-in Express™ Support Service
That's what is more important than anything else

Outlook Crash with 3.2
Plugin Crashes outlook 
Bob Vale




Posts: 25
Joined: 2007-01-29
We are getting serious problems with Outlook crashing when using our add-in. The crashes present us with the serious error/restart outlook dialog. They are happening apparently at random without any obvious decernable pattern. The problem goes away when the add-in is uninstalled.

As far as I can tell I'm not doing anything especially clever in the code, I've utilized Marshall.ReleaseComObject in all appropriate places. Nothing is firing the application_error event from ADX.

How should I go about fixing this - I'm currently leaning towards problems in the ADX Framework itself. Running 3.2

Seperately - once in a blue moon we get the following stack trace when click the to button in a email - completely bypasses the error event:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'CheckBox'.
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.WmImeKillFocus()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
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: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Outlook42Plugin
Assembly Version: 2.0.9.21672
Win32 Version: 2.0.9.21672
CodeBase:
file:///C:/Program%20Files/Peerex%20Ltd/Outlook%2042%20Hooks/Outlook42Pl
ugin.DLL
----------------------------------------
AddinExpress.MSO.2005
Assembly Version: 3.2.1865.2005
Win32 Version: 3.2.1865.2005
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/AddinExpress.MSO.2005/3.2.1865.2005
__c20c070a1fc9a144/AddinExpress.MSO.2005.dll

----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/Sy
stem.dll
----------------------------------------
Extensibility
Assembly Version: 7.0.3300.0
Win32 Version: 7.00.9466
CodeBase:
file:///C:/WINDOWS/assembly/GAC/Extensibility/7.0.3300.0__b03f5f7f11d50a
3a/Extensibility.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5
c561934e089/System.Windows.Forms.dll

----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d
50a3a/System.Drawing.dll
----------------------------------------
AddinExpress.OL.2005
Assembly Version: 3.2.904.2005
Win32 Version: 3.2.904.2005
CodeBase:
file:///C:/Program%20Files/Peerex%20Ltd/Outlook%2042%20Hooks/AddinExpres
s.OL.2005.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e08
9/System.Xml.dll
----------------------------------------
System.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d5
0a3a/System.Design.dll
----------------------------------------
Interop.Outlook
Assembly Version: 9.0.0.0
Win32 Version:
CodeBase:
file:///C:/Program%20Files/Peerex%20Ltd/Outlook%2042%20Hooks/Interop.Out
look.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5
f7f11d50a3a/System.Configuration.dll

----------------------------------------
System.DirectoryServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.DirectoryServices/2.0.0.0__b
03f5f7f11d50a3a/System.DirectoryServices.dll

----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089
/System.Data.dll
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c56
1934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b0
3f5f7f11d50a3a/System.EnterpriseServices.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.



Posted 30 Jan, 2007 09:21:01 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Bob.

Could you please send me the add-in project? I will test it on my PC.


P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 30 Jan, 2007 11:10:36 Top
Bob Vale




Posts: 25
Joined: 2007-01-29
Project Sent
Posted 31 Jan, 2007 04:05:08 Top
Bob Vale




Posts: 25
Joined: 2007-01-29
Version 3.3 Fixed the problems.

Thanks for the help :)

Posted 22 Feb, 2007 11:09:35 Top