Thanasis Boukouvalas
Posts: 40
Joined: 2006-06-17
|
Hi
I've tested my addin with Office 2003 (and interops for Office XP for backwards compatibility) and everything was OK.
Now I'm testing the same addin with Office XP and whenever I switch folder I'm taking the following exception:
Detailed technical information follows:
---
Date and Time: 11/10/2006 17:57:28
Machine Name: TBO-XPEN
IP Address: 192.168.1.126
Current User: ES-ENTERSOFT\tbo
Application Domain: C:\ESCRM\
Assembly Codebase: file:///C:/ESCRM/AddinExpress.OL.2003.DLL
Assembly Full Name: AddinExpress.OL.2003, Version=1.3.900.2003, Culture=neutral, PublicKeyToken=e69a7e0f3592d2b8
Assembly Version: 1.3.900.2003
Assembly Build Date: 19/06/2002 02:06:46
Exception Source: mscorlib
Exception Type: System.Runtime.InteropServices.InvalidComObjectException
Exception Message: COM object that has been separated from its underlying RCW can not be used.
Exception Target Site: InvokeDispMethod
---- Stack Trace ----
System.RuntimeType.InvokeDispMethod(name As String, invokeAttr As BindingFlags, target As Object, args As Object[], byrefModifiers As Boolean[], culture As Int32, namedParameters As String[])
AddinExpress.OL.2003.DLL: N 00000 (0x0) JIT
System.RuntimeType.InvokeMember(name As String, invokeAttr As BindingFlags, binder As Binder, target As Object, args As Object[], modifiers As ParameterModifier[], culture As CultureInfo, namedParameters As String[])
AddinExpress.OL.2003.DLL: N 00473 (0x1D9) JIT
AddinExpress.OL.OutlookUtils.GetCurrentFolder(ExplorerObj As Object)
AddinExpress.OL.2003.DLL: N 00076 (0x4C) JIT
Stack does not seems to be involved with my code.
What can I do?
|
|
Fedor Shihantsov
Guest
|
So far I can not still reproduce this Exception.
Do you have Office XP SP3 installed?
|
|
Thanasis Boukouvalas
Posts: 40
Joined: 2006-06-17
|
I've tried it with Office XP SP3 and Office XP with no SP at all.
I have the same behaviour. |
|
Fedor Shihantsov
Guest
|
Thanasis,
I've sent you a private email.
Could you please send me your project for testing?
|
|