Getting error in outlook vsto addin - Cannot create an instance of the <.....ADXOlForm> type.

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

Getting error in outlook vsto addin - Cannot create an instance of the <.....ADXOlForm> type.
 
santhosh venkatesh




Posts: 9
Joined: 2020-02-20
Hi,

I am getting below error when we build Addin project in Release mode and run it in 64 bit Outlook. Any help on this would be appreciated.

05-11-2020 10:00:12 1 ------DoSuperGridShow
05-11-2020 10:00:12 1 ------InitFolderProperties
05-11-2020 10:00:12 1 ------ADXOlExplorerArguments 1 NewExplorer
05-11-2020 10:00:12 1 ------Event OnCommonExplorerWindowShow 24091A, 4
05-11-2020 10:00:12 1 ----Event OnCommonReceiverWindowShow: 24091A
05-11-2020 10:00:12 1 ------DoReadingPaneShow
05-11-2020 10:00:12 1 ------InitFolderProperties
05-11-2020 10:00:12 1 ------ADXOlExplorerArguments 1 NewExplorer
05-11-2020 10:00:12 1 ------Event OnCommonExplorerWindowShow 24091A, 10
05-11-2020 10:00:12 1 ----Event OnCommonReceiverWindowShow: 24091A
05-11-2020 10:00:12 1 ------DoNavigationPaneShow
05-11-2020 10:00:12 1 ------InitFolderProperties
05-11-2020 10:00:12 1 ------ADXOlExplorerArguments 1 NewExplorer
05-11-2020 10:00:12 1 ------Event OnCommonExplorerWindowShow 24091A, 3
05-11-2020 10:00:12 1 ----Event OnCommonReceiverWindowShow: 24091A
05-11-2020 10:00:12 1 ----
05-11-2020 10:00:12 1 ----{-Event IExplorerEvents_10.Deactivate
05-11-2020 10:00:12 1 ----{+Event IExplorerEvents_10.Deactivate
05-11-2020 10:00:12 1 ----
05-11-2020 10:00:12 1 ---- |
05-11-2020 10:00:12 1 ---- | AddinExpress.OL.ADXOlFormsManager error: Cannot create an instance of the <.....ADXOlForm> type.
05-11-2020 10:00:12 1 ---- | Exception time: 05-11-2020 10:00:12
05-11-2020 10:00:12 1 ---- |
05-11-2020 10:00:12 1 ----ADXExceptionManager.DoError
05-11-2020 10:00:12 1 ----RegionState UnLock: OnError
05-11-2020 10:00:12 1 ----{-raise OnError
05-11-2020 10:00:12 1 ------RegionState Lock: OnError
05-11-2020 10:00:12 1 ----{+raise OnError
05-11-2020 10:00:12 1 ----*!* ProcessError ADXOlFormsManager.DoExplorerFormShow
05-11-2020 10:00:12 1 ---- |
05-11-2020 10:00:12 1 ---- | ADXOlFormsManager.DoExplorerFormShow: Cannot create an instance of the <......ADXOlForm> type.
05-11-2020 10:00:12 1 ---- | Exception time: 05-11-2020 10:00:12
05-11-2020 10:00:12 1 ---- |
05-11-2020 10:00:12 1 --ADXXOlExceptionManager.InternalProcessError
05-11-2020 10:00:12 1 --*!* Cannot create an instance of the <........ADXOlForm> type.
05-11-2020 10:00:12 1 --GetForm
05-11-2020 10:00:11 1 --RegionState UnLock: ADXBeforeFormInstanceCreate
05-11-2020 10:00:11 1 --{-raise ADXBeforeFormInstanceCreate
05-11-2020 10:00:11 1 ----RegionState Lock: ADXBeforeFormInstanceCreate
05-11-2020 10:00:11 1 --{+raise ADXBeforeFormInstanceCreate
05-11-2020 10:00:11 1 --SetExplorerAppWindowProperty
05-11-2020 10:00:11 1 --IsContextSupport
05-11-2020 10:00:11 1 --DoExplorerFormShow
05-11-2020 10:00:11 1 --InitFolderProperties
05-11-2020 10:00:11 1 --ADXOlExplorerArguments 1 Initialize
05-11-2020 10:00:11 1 --OutlookUtils.EnumExplorers
05-11-2020 10:00:11 1 {+Event DoAddinStartupComplete
Posted 04 Nov, 2020 23:51:50 Top
Andrei Smolin


Add-in Express team


Posts: 18826
Joined: 2006-05-11
Hello Santhosh,

It looks like the constructor of the form produces an exception.


Andrei Smolin
Add-in Express Team Leader
Posted 05 Nov, 2020 03:21:15 Top