Outlook Extensions version 1.1 is throwing an exception

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

Outlook Extensions version 1.1 is throwing an exception
Upgraded to Outlook Extension 1.1 and now exception is thrown 
Jim Albert




Posts: 21
Joined: 2005-12-31
I just upgraded to Outlook Extensions 1.1 and Addin Express .NET 2.5 and now every time I select a folder that should show a custom explorer form I get the following exception...

Detailed technical information follows:

What Happened

AddinExpress.OL.ADXOlFormContainer error: the add-in installation has fired an exception.

Where Presumably this happened

Error occured in the code of ADXOlFormContainer . See 'Details' section to get more detailed information about the error.

Details---
Date and Time: 6/6/2006 8:03:36 AM
Machine Name: DEV03
IP Address: 192.168.2.101
Current User: DEV03\Administrator

Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Program Files/Common Files/AfalinaSoft/Add-in Express .NET Extensions for Outlook/ADXOlFormContainer.2003.DLL
Assembly Full Name: ADXOlFormContainer.2003, Version=1.1.897.0, Culture=neutral, PublicKeyToken=32ebafe5cfc59ba1
Assembly Version: 1.1.897.0
Assembly Build Date: 5/30/2006 5:51:12 PM

Exception Source: mscorlib
Exception Type: System.ArgumentException
Exception Message: Type must be a type provided by the runtime, not a TypeDelegator, etc.
Parameter name: type
Exception Target Site: CreateInstance

---- Stack Trace ----
System.Activator.CreateInstance(type As Type, nonPublic As Boolean)
ADXOlFormContainer.2003.DLL: N 0050 (0x32) IL
System.Activator.CreateInstance(type As Type)
ADXOlFormContainer.2003.DLL: N 0000 (0x0) IL
AddinExpress.OL.ADXOlFormContainer.GetOutlookObject()
ADXOlFormContainer.2003.DLL: N 0048 (0x30) IL


I did some experimentation and I found that if I create a com addin with a shim project and then add a simple form and assign it to a folder everything works fine. If I create a com addin without a shim project I get the above exception.

I cannot create a shim project because the last time I upgraded to 2.4 I found that my options page would not work when there was a shim project.

I need a suggestion on how to resolve this quickly.
Posted 06 Jun, 2006 10:53:30 Top
Fedor Shihantsov


Guest


Jim,

I cannot reproduce this exception.

Please, give me more information.

What build of Addin Express .NET 2.5 do you use (1758 or 1759)?
What Outlook version do you have?
Please, look into GAC and tell me if it contains old versions AddinExpress.MSO and AddinExpress.OL.2003.

Did you set the Host Configuration for Outlook?
Posted 06 Jun, 2006 12:36:06 Top
Jim Albert




Posts: 21
Joined: 2005-12-31
What build of Addin Express .NET 2.5 do you use (1758 or 1759)?
2.5.1759 and 1.1.897

What Outlook version do you have?
Outlook XP running on Windows 2000 Server.

Please, look into GAC and tell me if it contains old versions AddinExpress.MSO and AddinExpress.OL.2003.
The correct versions are in the GAC.

Did you set the Host Configuration for Outlook?
What is the Host Configuration and how do you set it?

Jim
Posted 06 Jun, 2006 19:35:58 Top
Fedor Shihantsov


Guest


Jim,

If you works without Shim you should use the 'Host configuration' dialog to configure Office applications to load .NET v1.1.4322 (right click on the addinmodule and choose the 'Host configuration' option, double click on Outlook and set v1.1.4322).

Let me know about the result.
Posted 07 Jun, 2006 01:57:23 Top