Refresh form error RPC_E_CANTCALLOUT_ININPUTSYNCCALL

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

Refresh form error RPC_E_CANTCALLOUT_ININPUTSYNCCALL
 
Kotrak


Guest


Hello,
During refreshing form (formsCollectionItem.ApplyTo(OutlookApp.ActiveExplorer());), I received error RPC_E_CANTCALLOUT_ININPUTSYNCCALL. Do You have any idea what is wrong ? Sorry for polish translation.
Regards.

ERROR LOG:


System Info:
===========

AdditionalVersionIdentifier:
Start Time: 2012-01-05 09:03:37
Professional: AddinExpress.OL.2005, Version=6.5.3057.2005, Culture=neutral, PublicKeyToken=e69a7e0f3592d2b8
Outlook version: 14.0.0.6025
SocialConnectorAddinConnected = True
Registered message WM_ADX_TEST=49953
Registered message WM_ADX_SEARCH_WINDOW_ENGINE_HIDE=49954
Registered message WM_ADX_SEARCH_WINDOW_ENGINE_SHOW=49955
Registered message WM_ADXDELETEEMULATEWINDOW=49956
Registered message WM_ADX_WINDOW_ENGINE_HIDE=49957
Registered message WM_ADX_WORDEDITOR_HIDE=49958
Registered message WM_REMOVECONTROLLEDRESIZEWINDOW=49959
Registered message WM_NET_ShowChildWindowMessage=49960
Registered message WM_ADX_NeedRefreshFoldersMessage=49961
Registered message WM_ADX_CLOSE_SERVICE_FORM_FOR_NOT_WORD_INSPECTOR=49962
Registered message WM_ADX_CLOSE_SUPERGRID_SERVICE_FORM=49963
Registered message WM_ADX_CLOSE_READINGPANE_SERVICE_FORM=49964
Registered message WM_INFORMTOSHOWDOCKLAYOUT=49965
Registered message WM_ADX_DESTROY_EMBEDED_WINDOW=49759
Registered message WM_ADX_READING_PANE_HIDE_FROM_SBCLS=49760
Registered message WM_ADXDELPROC=49761
Registered message WM_ADXSETOLDPROC=49762
Registered message WM_ADXSETNEWPROC=49763
Registered message WM_ADXGETCONTAINERFORM=49764
Registered message WM_ADXADDFORM=49765
Registered message WM_ADXDELETEFORM=49766
Registered message WM_ADXSETCONTAINER=49767
Registered message WM_ADXGETAPPWINDOWPOS=49768
Registered message WM_ADXGETREGIONPARAM=49769
Registered message WM_ADXGETREGIONSIZE=49770
Registered message WM_ADXSETREGIONPARAM=49771
Registered message WM_ADXUPDATEFORMPARAM=49772
Registered message WM_ADXSETMAINPOS=49773
Registered message WM_ADXCLOSEAPPWINDOW=49774
Registered message WM_ADXSETLATESTPROC=49775
Registered message WM_ADXEXIST=49776
Registered message WM_ADXEXISTLAYOUT=49777
Registered message WM_ADXEXISTSERVICEFORM=49778
Registered message WM_ADXWMIGETCONTROL=49779
Registered message WM_ADXWMIPOSCHANGE=49780
Registered message WM_ADXWMISETPOS=49781
Registered message WM_ADXCOMMAND=49782
Registered message WM_ADXMOUSELEAVE=49783
Registered message WM_MSO_BROADCASTCHANGE=49784
Registered message WM_ADXSETACTIVATE=49785
Registered message WM_ADXGETTYPESUBCLASS=49786
Registered message WM_ADXCLOSEBUTTONC LICK=49787
Registered message WM_ADXHIDEALLREGIONFORMS=49788
Registered message WM_ADXGETPICTURE=49789
Registered message WM_ADXSUPPORTMINIMIZE=49790
Registered message WM_ADXCONTAINERSHOWFLOATING=49791
Registered message WM_ADXCONTAINERHIDEFLOATING=49792
Registered message WM_ADXSHOWFLOATING=49793
Registered message WM_ADXHIDEFLOATING=49794
Registered message WM_ADXSETFLOATINGPOS=49795
Registered message WM_ADXGETDRAGLAYOUTPARAMS=49796
Registered message WM_ADXSETDRAGFORM=49797
Registered message WM_ADXSETDRAGITEMS=49798
Registered message WM_ADXGETFORMDEFAULTSIZE=49799
Registered message WM_ADXDRAGOVERMINIMIZED=49800
Registered message WM_ADXREDESIGNSUPPORT=49801
Registered message WM_ADXUPDATECLIPREGION=49802
Registered message WM_ADXCTP_VISIBLECHANGED=49803
Registered message WM_ADXMAYBEWORDVIEWWASCHANGED=49804
Registered message WM_ADXSTARTTRANSACTION=49805
Registered message WM_ADXENDTRANSACTION=49806
Registered message WM_ADXSWAPCONTROLLER=49807
Registered message WM_ADXCONTAINERREFRESH=49808
Registered message WM_ADXGETCAPTION=49809
Registered message WM_ADX_GET_ACTUAL_INSPECTORS_COUNT=49966
Registered message WM_ADX_UPDATE_LATEST_KNOWN_INSPECTORS_COUNT=49967
Registered message WM_ADX_FIND_OUTSIDE_INSPECTOR=49968
Registered message WM_ADX_NAVIGATION_PANE_SHOW=49973
Registered message WM_ADX_NAVIGATION_PANE_HIDE=49974
Registered message WM_ADX_NAVIGATION_PANE_MINIMIZE=49975
Registered message WM_ADX_TODO_BAR_SHOW=49976
Registered message WM_ADX_TODO_BAR_HIDE=49977
Registered message WM_ADX_TODO_BAR_MINIMIZE=49978
Registered message WM_ADX_READING_PANE_SHOW=49979
Registered message WM_ADX_READING_PANE_HIDE=49980
* Add-in 1:11, ProgID: BCSAddin.Connect, Connect: True, Description: Business Connectivity Services Add-In
* Add-in 2:11, ProgID: ColleagueImport.ColleagueImportAddin, Connect: True, Description: Dodatek importowania wsp??pracownik?w programu Microsoft Office SharePoint Server
Add-in 3:11, ProgID: ESET.OutlookAddin, Connect: False, Description: ESET Outlook Add-in
* Add-in 4:11, ProgID: Groove.OutlookProxyAddIn, Connect: True, Description: Microsoft SharePoint Workspace Proxy for Outlook Add-in
* Add-in 5:11, ProgID: KotrakAddinCRM.AddinModule, Connect: True, Description: KotrakAddinCRM
* Add-in 6:11, ProgID: Microsoft.VbaAddinForOutlook.1, Connect: True, Description: Microsoft VBA for Outlook Addin
* Add-in 7:11, ProgID: OneNote.OutlookAddin, Connect: True, Description: OneNote Notes about Outlook Items
* Add-in 8:11, ProgID: OscAddin.Connect, Connect: True, Description: Microsoft Outlook Social Connector
Add-in 9:11, ProgID: OutSpy.OutlookSpyAddin, Connect: False, Description: OutlookSpy Developer Tool
Add-in 10:11, ProgID: Search.OutlookToolbar, Connect: False, Description: Windows Search Email Indexer
* Add-in 11:11, ProgID: UmOutlookAddin.FormRegionAddin, Connect: True, Description: Microsoft Exchange Add-in
Registered message WM_NET_MoveReadingPaneWindowMessage=50029
Exceptions:
===========

ADXOlFormsCollectionItem.ApplyTo: Nie mo?na wykona? wywo?ania wychodz?cego, poniewa? aplikacja wykonuje wywo?anie synchroniczne z wej?ciem. (Wyj?tek od HRESULT: 0x8001010D (RPC_E_CANTCALLOUT_ININPUTSYNCCALL))
Exception time: 2012-01-05 09:04:23
w AddinExpress.Extensions.WindowsAPI.IOLEWindow.GetWindow(IntPtr& wnd)
w AddinExpress.Extensions.WindowsAPI.GetOLEWindow(Object obj)
w AddinExpress.OL.ADXOlExplorerArguments..ctor(ADXOlFormsManager FormsManager, Object ExplorerObj, ADXOlCodeContext CodeContext)
w AddinExpress.OL.ADXOlFormsManager.ApplyItemToExplorer(ADXOlFormsCollectionItem Item, Object ExplorerObj)
w AddinExpress.OL.ADXOlFormsCollectionItem.ApplyTo(Object ExplorerOrInspectorObj)

AddinExpress.OL.ADXOlFormsManager error: Nie mo?na wykona? wywo?ania wychodz?cego, poniewa? aplikacja wykonuje wywo?anie synchroniczne z wej?ciem. (Wyj?tek od HRESULT: 0x8001010D (RPC_E_CANTCALLOUT_ININPUTSYNCCALL))
Exception time: 2012-01-05 09:04:23

AddinExpress.OL.ADXOlFormsManager error: Nie mo?na wykona? wywo?ania wychodz?cego, poniewa? aplikacja wykonuje wywo?anie synchroniczne z wej?ciem. (Wyj?tek od HRESULT: 0x8001010D (RPC_E_CANTCALLOUT_ININPUTSYNCCALL))
Error occured in ADXOlFormsCollectionItem.ApplyTo . See 'Details' section to get more detailed information about the error.
Detailed technical information follows:
---
Date and Time: 2012-01-05 09:04:23
Machine Name: JACEK-KOTRAK
IP Address: fe80::39f3:870:4ab1:3ed4%13
Current User: JACEK-KOTRAK\Jacek

Application Domain: C:\Users\Jacek\Desktop\KotrakCRM\KotrakAddinCRM\KotrakAddinCRM\bin\Debug\3\
Assembly Codebase: file:///C:/Windows/assembly/GAC_MSIL/AddinExpress.OL.2005/6.5.3057.2005__e69a7e0f3592d2b8/AddinExpress.OL.2005.dll
Assembly Full Name: AddinExpress.OL.2005, Version=6.5.3057.2005, Culture=neutral, PublicKeyToken=e69a7e0f3592d2b8
Assembly Version: 6.5.3057.2005
Assembly Build Date: 2008-05-15 01:06:50

Exception Source: AddinExpress.OL.2005
Exception Type: System.Runtime.InteropServices.COMException
Exception Message: Nie mo?na wykona? wywo?ania wychodz?cego, poniewa? aplikacja wykonuje wywo?anie synchroniczne z wej?ciem. (Wyj?tek od HRESULT: 0x8001010D (RPC_E_CANTCALLOUT_ININPUTSYNCCALL))
Exception Target Site: GetWindow

---- Stack Trace ----
AddinExpress.Extensions.IOLEWindow.GetWindow(wnd As IntPtr&)
AddinExpress.OL.2005.dll: N 00000 (0x0) JIT
AddinExpress.Extensions.WindowsAPI.GetOLEWindow(obj As Object)
AddinExpress.OL.2005.dll: N 0039 (0x27) IL
AddinExpress.OL.ADXOlExplorerArguments..ctor(FormsManager As ADXOlFormsManager, ExplorerObj As Object, CodeContext As ADXOlCodeContext)
AddinExpress.OL.2005.dll: N 0180 (0xB4) IL
AddinExpress.OL.ADXOlFormsManager.ApplyItemToExplorer(Item As ADXOlFormsCollectionItem, ExplorerObj As Object)
AddinExpress.OL.2005.dll: N 0001 (0x1) IL
AddinExpress.OL.ADXOlFormsCollectionItem.ApplyTo(ExplorerOrInspectorObj As Object)
AddinExpress.OL.2005.dll: N 0059 (0x3B) IL




Log:
===========

2012-01-05 09:04:23 6 -- |
2012-01-05 09:04:23 6 -- | AddinExpress.OL.ADXOlFormsManager error: Nie mo?na wykona? wywo?ania wychodz?cego, poniewa? aplikacja wykonuje wywo?anie synchroniczne z wej?ciem. (Wyj?tek od HRESULT: 0x8001010D (RPC_E_CANTCALLOUT_ININPUTSYNCCALL))
2012-01-05 09:04:23 6 -- | Exception time: 2012-01-05 09:04:23
2012-01-05 09:04:23 6 -- |
2012-01-05 09:04:23 6 --ADXExceptionManager.DoError
2012-01-05 09:04:23 6 --*!* ProcessError ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:23 6 -- |
2012-01-05 09:04:23 6 -- | ADXOlFormsCollectionItem.ApplyTo: Nie mo?na wykona? wywo?ania wychodz?cego, poniewa? aplikacja wykonuje wywo?anie synchroniczne z wej?ciem. (Wyj?tek od HRESULT: 0x8001010D (RPC_E_CANTCALLOUT_ININPUTSYNCCALL))
2012-01-05 09:04:23 6 -- | Exception time: 2012-01-05 09:04:23
2012-01-05 09:04:23 6 -- |
2012-01-05 09:04:23 6 ADXXOlExceptionManager.InternalProcessError
2012-01-05 09:04:23 6 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:23 6 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:23 6 ADXOlFormsCollectionItem.SetFormClassName
2012-01-05 09:04:18 1 SetExplorerAppWindowProperty
2012-01-05 09:04:18 1 IsContextSupport
2012-01-05 09:04:18 1 DoExplorerFormShow
2012-01-05 09:04:18 1 DoApplyItemToExplorer
2012-01-05 09:04:18 1 InitFolderProperties
2012-01-05 09:04:18 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:18 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:18 1 SetExplorerAppWindowProperty
2012-01-05 09:04:18 1 IsContextSupport
2012-01-05 09:04:18 1 DoExplorerFormShow
2012-01-05 09:04:18 1 DoApplyItemToExplorer
2012-01-05 09:04:18 1 InitFolderProperties
2012-01-05 09:04:18 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:18 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:18 1 SetExplorerAppWindowProperty
2012-01-05 09:04:18 1 IsContextSupport
2012-01-05 09:04:18 1 DoExplorerFormShow
2012-01-05 09:04:18 1 DoApplyItemToExplorer
2012-01-05 09:04:18 1 InitFolderProperties
2012-01-05 09:04:18 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:18 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:18 1 SetExplorerAppWindowProperty
2012-01-05 09:04:18 1 IsContextSupport
2012-01-05 09:04:18 1 DoExplorerFormShow
2012-01-05 09:04:18 1 DoApplyItemToExplorer
2012-01-05 09:04:18 1 InitFolderProperties
2012-01-05 09:04:18 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:18 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:18 1 DoApplyItemToExplorer
2012-01-05 09:04:18 1 InitFolderProperties
2012-01-05 09:04:18 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:18 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:18 1 SetExplorerAppWindowProperty
2012-01-05 09:04:18 1 IsContextSupport
2012-01-05 09:04:18 1 DoExplorerFormShow
2012-01-05 09:04:17 1 DoApplyItemToExplorer
2012-01-05 09:04:17 1 InitFolderProperties
2012-01-05 09:04:17 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:17 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:17 1 SetExplorerAppWindowProperty
2012-01-05 09:04:17 1 IsContextSupport
2012-01-05 09:04:17 1 DoExplorerFormShow
2012-01-05 09:04:17 1 DoApplyItemToExplorer
2012-01-05 09:04:17 1 InitFolderProperties
2012-01-05 09:04:17 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:17 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:17 1 DoApplyItemToExplorer
2012-01-05 09:04:17 1 InitFolderProperties
2012-01-05 09:04:17 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:17 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:15 1 SetExplorerAppWindowProperty
2012-01-05 09:04:15 1 IsContextSupport
2012-01-05 09:04:15 1 DoExplorerFormShow
2012-01-05 09:04:15 1 DoApplyItemToExplorer
2012-01-05 09:04:15 1 InitFolderProperties
2012-01-05 09:04:15 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:15 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:15 1 SetExplorerAppWindowProperty
2012-01-05 09:04:15 1 IsContextSupport
2012-01-05 09:04:15 1 DoExplorerFormShow
2012-01-05 09:04:15 1 DoApplyItemToExplorer
2012-01-05 09:04:15 1 InitFolderProperties
2012-01-05 09:04:15 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:15 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:14 1 DoApplyItemToExplorer
2012-01-05 09:04:14 1 InitFolderProperties
2012-01-05 09:04:14 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:14 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:14 1 SetExplorerAppWindowProperty
2012-01-05 09:04:14 1 IsContextSupport
2012-01-05 09:04:14 1 DoExplorerFormShow
2012-01-05 09:04:14 1 DoApplyItemToExplorer
2012-01-05 09:04:14 1 InitFolderProperties
2012-01-05 09:04:14 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:14 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:14 1 SetExplorerAppWindowProperty
2012-01-05 09:04:14 1 IsContextSupport
2012-01-05 09:04:14 1 DoExplorerFormShow
2012-01-05 09:04:14 1 DoApplyItemToExplorer
2012-01-05 09:04:14 1 InitFolderProperties
2012-01-05 09:04:14 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:14 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:14 1 DoApplyItemToExplorer
2012-01-05 09:04:14 1 InitFolderProperties
2012-01-05 09:04:14 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:14 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:08 1 SetExplorerAppWindowProperty
2012-01-05 09:04:08 1 IsContextSupport
2012-01-05 09:04:08 1 DoExplorerFormShow
2012-01-05 09:04:08 1 DoApplyItemToExplorer
2012-01-05 09:04:08 1 InitFolderProperties
2012-01-05 09:04:08 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:08 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:08 1 SetExplorerAppWindowProperty
2012-01-05 09:04:08 1 IsContextSupport
2012-01-05 09:04:08 1 DoExplorerFormShow
2012-01-05 09:04:08 1 DoApplyItemToExplorer
2012-01-05 09:04:08 1 InitFolderProperties
2012-01-05 09:04:08 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:08 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:08 1 DoApplyItemToExplorer
2012-01-05 09:04:08 1 InitFolderProperties
2012-01-05 09:04:08 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:08 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:08 1 SetExplorerAppWindowProperty
2012-01-05 09:04:08 1 IsContextSupport
2012-01-05 09:04:08 1 DoExplorerFormShow
2012-01-05 09:04:08 1 DoApplyItemToExplorer
2012-01-05 09:04:08 1 InitFolderProperties
2012-01-05 09:04:08 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:08 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:08 1 SetExplorerAppWindowProperty
2012-01-05 09:04:08 1 IsContextSupport
2012-01-05 09:04:08 1 DoExplorerFormShow
2012-01-05 09:04:08 1 DoApplyItemToExplorer
2012-01-05 09:04:08 1 InitFolderProperties
2012-01-05 09:04:08 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:08 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:08 1 DoApplyItemToExplorer
2012-01-05 09:04:08 1 InitFolderProperties
2012-01-05 09:04:08 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:08 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:07 1 SetExplorerAppWindowProperty
2012-01-05 09:04:07 1 IsContextSupport
2012-01-05 09:04:07 1 DoExplorerFormShow
2012-01-05 09:04:07 1 DoApplyItemToExplorer
2012-01-05 09:04:07 1 InitFolderProperties
2012-01-05 09:04:07 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:07 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:07 1 SetExplorerAppWindowProperty
2012-01-05 09:04:07 1 IsContextSupport
2012-01-05 09:04:07 1 DoExplorerFormShow
2012-01-05 09:04:07 1 DoApplyItemToExplorer
2012-01-05 09:04:07 1 InitFolderProperties
2012-01-05 09:04:07 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:07 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:07 1 DoApplyItemToExplorer
2012-01-05 09:04:07 1 InitFolderProperties
2012-01-05 09:04:07 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:07 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:07 1 ADXOlFormsCollectionItem.SetFormClassName
2012-01-05 09:04:05 1
2012-01-05 09:04:05 1 {-Event IExplorerEvents_10.Deactivate
2012-01-05 09:04:05 1 {+Event IExplorerEvents_10.Deactivate
2012-01-05 09:04:05 1
2012-01-05 09:04:01 1 DoApplyItemToExplorer
2012-01-05 09:04:01 1 InitFolderProperties
2012-01-05 09:04:01 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:01 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:01 1 ADXOlFormsCollectionItem.SetFormClassName
2012-01-05 09:04:01 1 DoApplyItemToExplorer
2012-01-05 09:04:01 1 InitFolderProperties
2012-01-05 09:04:01 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:01 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:01 1 ADXOlFormsCollectionItem.SetFormClassName
2012-01-05 09:04:01 1 DoApplyItemToExplorer
2012-01-05 09:04:01 1 InitFolderProperties
2012-01-05 09:04:01 1 ADXOlExplorerArguments 1 FolderEvent
2012-01-05 09:04:01 1 ADXOlFormsCollectionItem.ApplyTo
2012-01-05 09:04:01 1 ADXOlFormsCollectionItem.SetFormClassName
2012-01-05 09:04:01 1 DoApplyItemToExplorer
2012-01-05 09:04:01 1 InitFolderProperties
Posted 05 Jan, 2012 02:21:13 Top
Eugene Astafiev


Guest


Hi Kotrak,

Where in the code do you call the formsCollectionItem.ApplyTo(OutlookApp.ActiveExplorer() method?

Anyway, could you please send a sample add-in project which can reproduce the issue to the support e-mail address (see readme.txt for details)? A newly created empty add-in project with steps to reproduce the issue is much appreciated. I will test it on my PC with Outlook 2010.

Also please make sure that you use an old build of Add-in Express 2010. You can download the latest build from our http://www.add-in-express.com/downloads/adxnet.php.
Posted 05 Jan, 2012 03:26:03 Top
Kotrak


Guest


Hi Eugene,
formsCollectionItem.ApplyTo(OutlookApp.ActiveExplorer()) is invoke from AddinModule.cs and is invoke in background worker completed and method look like:

foreach (ADXOlFormsCollectionItem formsCollectionItem in adxOlFormsManager1.Items)
{
    if (xxx)
    {
         formsCollectionItem.FormClassName = actualDisplayFormType as String;
         formsCollectionItem.ApplyTo(OutlookApp.ActiveExplorer());

    }
}

My version of Add-in Express 2010 this is 6.5 Release (build 3057)
Posted 05 Jan, 2012 03:53:11 Top
Eugene Astafiev


Guest


Hi Kotrak,

Note, we don't recommend running another threads in Office COM add-ins. The fact is the Office object model is not thread safe. Please read more about this in the http://msdn.microsoft.com/en-us/library/8sesy69e.aspx article in MSDN and http://www.add-in-express.com/creating-addins-blog/2010/11/04/threads-managed-office-extensions/ on our technical blog. The ApplyTo method uses the Outlook Object Model to get its job done.

Does the ApplyTo method work in the main thread as expected?

FYI The latest build of Add-in Express 2010 is 6.6.3059.
Posted 05 Jan, 2012 04:21:43 Top