|
Martin Bayly
Posts: 41
Joined: 2007-10-05
|
ADX 3.8.1886.2005
OL2003
Word as Email Editor
Hi
We are getting the following error when closing a new inspector when using Word as the email editor. Any ideas what it might mean?
2008-06-10 16:54:06,565 [1] ERROR Taglocity.AddinModule [(null)] - Error from ADX handlers (Forms Manager)
System.Runtime.InteropServices.InvalidComObjectException: COM object that has been separated from its underlying RCW cannot be used.
at AddinExpress.OL.OutlookUtils.GetNewInspectorWindowHandle(Object InspectorObj, ADXOutlookVersion version, Boolean Visibility)
at AddinExpress.OL.ADXOlFormsManager.OnAsyncWordEditorHide(IntPtr HostHandle, Int32 ItemType)
2008-06-10 16:54:06,597 [1] INFO Taglocity.OutlookEventsHandler [(null)] - _olEvents_ExplorerActivate entered
2008-06-10 16:54:06,690 [1] INFO Taglocity.OutlookEventsHandler [(null)] - _olEvents_InspectorClose entered:
To get this we:
1. Open a new mail
2. Close the mail without entering any info (or after entering some info too)
The inspector uses an ADXOLForm in the bottom sub pane.
|
|
Posted 10 Jun, 2008 20:53:54
|
|
Top
|
|
Eugene Astafiev
Guest
|
Hi Martin,
Did you release any event argument of the ADXOlFormsManager or the ADXOlForm.InspectorObj property using Marshal.ReleaseComObject method ? |
|
Posted 11 Jun, 2008 06:25:08
|
|
Top
|
|
Paul Cross
Guest
|
I'm getting the same error on 2003. Double checked my code and I'm not releasing any references inappropriately.
Is there an update on this?
Error is...
Exception Source: AddinExpress.OL.2005
Exception Type: System.Runtime.InteropServices.InvalidComObjectException
Exception Message: COM object that has been separated from its underlying RCW cannot be used.
Exception Target Site: GetNewInspectorWindowHandle
---- Stack Trace ----
AddinExpress.OL.OutlookUtils.GetNewInspectorWindowHandle(InspectorObj As Object, version As ADXOutlookVersion, Visibility As Boolean)
AddinExpress.OL.2005.DLL: N 0032 (0x20) IL
AddinExpress.OL.ADXOlFormsManager.OnAsyncWordEditorHide(HostHandle As IntPtr, ItemType As Int32)
AddinExpress.OL.2005.DLL: N 0104 (0x68) IL
|
|
Posted 15 Jun, 2008 13:18:25
|
|
Top
|
|
Paul Cross
Guest
|
I'm getting exactly the same error with Outlook 2003. Is there an update on this issue?
Thanks |
|
Posted 15 Jun, 2008 16:52:41
|
|
Top
|
|
Eugene Astafiev
Guest
|
Hi Paul,
Please supply us with the following info:
OS version and SPs,
Office version and SPs,
Add-in Express build number,
Outlook build number.
The exception dialog should contain the "Show Log" button. Could you click this button, save a log and send it at our support email for analysis? |
|
Posted 16 Jun, 2008 05:08:02
|
|
Top
|
|
Paul Cross
Guest
|
Hi Eugene,
I've included all the requested information using your support form. Is there a direct email address that can be used instead if the form submit fails? |
|
Posted 16 Jun, 2008 06:40:01
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18817
Joined: 2006-05-11
|
Hi Paul,
We've got the information. Thank you. As to the direct e-mail address, please find it in readme.txt.
Andrei Smolin
Add-in Express Team Leader |
|
Posted 16 Jun, 2008 06:54:33
|
|
Top
|
|
Martin Bayly
Posts: 41
Joined: 2007-10-05
|
Hi
For us this did seemed to be caused by an inappropriate release of an ADX inspector reference.
In a subclassed ADXOlForm Shown event handler we had cast the ADXOlForm.InspectorObj to an Outlook.Inspector reference and then were releasing the Outlook.Inspector reference at the end of the event handler.
Removing this release seemed to resolve the problem for us.
Thanks
Martin |
|
Posted 16 Jun, 2008 13:51:49
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18817
Joined: 2006-05-11
|
Hi Martin,
Thank you for letting us know.
Andrei Smolin
Add-in Express Team Leader |
|
Posted 16 Jun, 2008 14:11:54
|
|
Top
|
|