PowerPoint error 80040154

Apr 17, 2013 at 9:00 AM
Hello,
I've been writing an Add-In for PowerPoint and yesterday while testing in VSTO for the first time, I had following code error.
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM cla
ss factory for component with CLSID {91493441-5A91-11CF-8700-00AA0060263B} faile
d due to the following error: 80040154.
at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(Runti
meType objectType)
at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(Type
objectType)
at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(Type
serverType)
at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(T
ype serverType, Object[] props, Boolean bNewObj)
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOn
ly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& b
NeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCach
e)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisi
bilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at NetOffice.COMObject.CreateFromProgId(String progId)
at NetOffice.COMObject..ctor(String progId)
at NetOffice.PowerPointApi._Application..ctor(String progId)
at NetOffice.PowerPointApi.Application..ctor()
at QlikOffice.Core.XLSConverter.Convert(ExportConfiguration configuration) in
E:\app\QlikOfficeXLS - Reduced\Source\QlikOffice.Core\XLSConverter.cs:line 256
Actually the code being executed is the following:
using PowerPoint = NetOffice.PowerPointApi;

// A bit further in program
PowerPoint.Application ppApp = new PowerPoint.Application(); -> here
I tried to do : regsvr32 msxml3.dll

GUID is in Registry fine, I looked it up.

Even http://stackoverflow.com/questions/1036856/retrieving-the-com-class-factory-for-component-with-clsid-xxxx-failed-due-to-t

Didn't help me out.

Any idea? It crashes on NetOffice PowerPointAPi.