framework 4.7.2 issue
Hello, I faced problem with execute LyncIMLocalHistory.exe on: Windows 10 Version 1809 (the same on lower versions) .NET Framework 4.7.2 (461814)
Microsoft Office is 64bit version
Microsoft Office Configuration Analyzer Tool 2.2 2.2.6018.801 Microsoft Office Office 32-bit Components 2010 14.0.7015.1000 Microsoft Office Shared 32-bit MUI (English) 2010 14.0.7015.1000 Microsoft Office Shared Setup Metadata MUI (English) 2010 14.0.7015.1000 Microsoft Office SharePoint Designer 2
010 14.0.7015.1000 Microsoft Office SharePoint Designer MUI (English) 2010 14.0.7015.1000 Microsoft Office Proofing (English) 2010 14.0.7015.1000 Microsoft Office Shared MUI (English) 2010 14.0.7015.1000 Microsoft Office Proof (English) 2010 14.0.7015.1000 Microsoft Office Proof (Spanish) 2010 14.0.7015.1000 Microsoft Office Proof (French) 2010 14.0.7015.1000 Office 15 Click-to-Run Extensibility Component 15.0.4753.1003 Office 15 Click-to-Run Localization Component 15.0.4753.1003 Office 15 Click-to-Run Licensing Component 15.0.4753.1003 Office 16 Click-to-Run Extensibility Component 16.0.9126.2315 Office 16 Click-to-Run Localization Component 16.0.9126.2315 Office 16 Click-to-Run Licensing Component 16.0.9126.2315 Strumenti di correzione di Microsoft Office 2016 - Italiano 16.0.4393.1001 Microsoft Office Proofing Tools 2016 - ????? ??????? 16.0.4393.1001 Microsoft Office ???_? 2016 - ??? 16.0.4393.1001 Microsoft Office Proofing Tools 2016 - ????????? 16.0.4393.1001 Microsoft Office ?? ?? ?? 2016 - ??? 16.0.4393.1001 Taalprogramma's voor Microsoft Office 2016 - Nederlands 16.0.4393.1001 Microsoft Office ???? 2016 - ???? 16.0.4393.1001 Microsoft Office ???? 2016 - ???? 16.0.4393.1001 Nástroje kontroly pravopisu pro Microsoft Office 2016 - čeština 16.0.4393.1001 Narzędzia sprawdzające pakietu Microsoft Office 2016 - polski 16.0.4393.1001 Korrekturredskaber til Microsoft Office 2016 - Dansk 16.0.4393.1001 Revisores de Texto do Microsoft Office 2016 - Portugues (Brasil) 16.0.4393.1001 Ferramentas de Verificaçao do Microsoft Office 2016 - Portugues 16.0.4393.1001 Microsoft Office Proofing Tools 2016 - Afrikaans 16.0.4393.1001 Microsoft Office Korrekturhilfen 2016 - Deutsch 16.0.4393.1001 Instrumente de verificare Microsoft Office 2016 - Română 16.0.4393.1001 ???????? ???????? ???????????? Microsoft Office 2016 - ??????? 16.0.4393.1001 Microsoft Office Proofing Tools 2016 - ????? 16.0.4393.1001 Herramientas de corrección de Microsoft Office 2016: espanol 16.0.4393.1001 Outils de vérification linguistique 2016 de Microsoft Office - Français 16.0.4393.1001 Uirlisí Profála Microsoft Office 2016 - Gaeilge 16.0.4393.1001 ??? ????? ?? Microsoft Office 2016 - ????? 16.0.4393.1001 Microsoft Office Nyelvi ellenőrző eszközök 2016 - magyar 16.0.4393.1001 Microsoft Office Proofing Tools 2016 - Bahasa Melayu 16.0.4393.1001 Microsoft Visual Studio 2010 Tools for Office Runtime (x64) 10.0.60830
error:

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Uc.UCOfficeIntegration'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{6A222195-F65E-467F-8F77-EB180BD85288}' failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).
at Microsoft.Lync.Model.LyncClient.EnsureOI()
at Microsoft.Lync.Model.LyncClient.GetClient(Boolean sideBySideLync)
at LyncIMLocalHistory.Program.
************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
LyncIMLocalHistory Assembly Version: 1.2.0.0 Win32 Version: 1.2.0.0 CodeBase: file:///C:/Users/c5252580/Documents/LyncIMHistory/LyncIMLocalHistory.exe
System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System Assembly Version: 4.0.0.0 Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
Microsoft.Lync.Model Assembly Version: 15.0.0.0 Win32 Version: 15.0.4603.1000 CodeBase: file:///C:/Users/c5252580/Documents/LyncIMHistory/Microsoft.Lync.Model.DLL
System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
Microsoft.Office.Uc Assembly Version: 15.0.4603.1000 Win32 Version: 15.0.4603.1000 CodeBase: file:///C:/Users/c5252580/Documents/LyncIMHistory/Microsoft.Office.Uc.DLL
************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
For example:
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
reinstall lync, office, wasn't solved problem thanks ;-) Brano
I'm sorry but I'm not working on this project anymore. Try to contact someone who forked my project if they still use and develop the tool. Thanks