Quantcast
Channel: NetOffice - MS Office in .NET
Viewing all articles
Browse latest Browse all 1741

Created Unassigned: NetOffice.NefOfficeException when Outlook addin is loading [21855]

$
0
0
Hi,

I created a test outlook adding project using NO Developer Toolbox.
Project contains:
- .NET framework 4.5
- VS 2013 Express
- plugin loaded on startup
- RibbonUI customization
- Custom TaskPane
- Toggle button (irrelevant here)

After builing and lunching an Outlook I get this exception:

```
NetOfficeException;System.String[] AddAssembly(System.String, System.Reflection.Assembly);Unexpected OfficeApi factory info. Assembly OfficeApi
NetOffice.NetOfficeException: Unexpected OfficeApi factory info. Assembly OfficeApi
at NetOffice.Core.AddAssembly(String name, Assembly itemAssembly) in c:\Users\Sebastian\Desktop\Kopie von Source\NetOffice\Core.cs:line 1046
at NetOffice.Core.AddNetOfficeAssemblies() in c:\Users\Sebastian\Desktop\Kopie von Source\NetOffice\Core.cs:line 350
at NetOffice.Core.Initialize(CacheOptions cacheOptions) in c:\Users\Sebastian\Desktop\Kopie von Source\NetOffice\Core.cs:line 317
at NetOffice.Core.CreateObjectFromComProxy(COMObject caller, Object comProxy) in c:\Users\Sebastian\Desktop\Kopie von Source\NetOffice\Core.cs:line 660
at NetOffice.OfficeApi.ICTPFactory.CreateCTP(String cTPAxID, String cTPTitle) in c:\Users\Sebastian\Desktop\Kopie von Source\Office\DispatchInterfaces\ICTPFactory.cs:line 125
at NetOffice.OutlookApi.Tools.COMAddin.CTPFactoryAvailable(Object CTPFactoryInst) in c:\Users\Sebastian\Desktop\Kopie von Source\Outlook\Tools\COMAddin.cs:line 432
```

Exception is not visible when Custom TaskPane is not in use.

Any suggestions why this exception is raised?

Thanks

Viewing all articles
Browse latest Browse all 1741

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>