Hi,
This is a problem googled easily, but no solution helped me.
Locally I am trying to open a PowerPoint application to read and import a ppt (or pptx) file.
this is the command where exception is thrown (ASP.NET VB):
objApplication = New Microsoft.Office.Interop.PowerPoint.Application
the exception text is something like:
Retrieving the COM class factory for component with CLSID
{91493441-5A91-11CF-8700-00AA0060263B} failed due to the following error: 80040154.
The solutions I googled are: 1.run dcomcnfg, find Microsoft Powerpoint application, 2. give permissions to ASPNET user.
This could not help, because -->
On a computer, where there was a MS Office 2003 or older installed, and then replaced by new 2007 or 2010 everything works fine. In dcomcnfg i can find "MS Powerpoint slide" (this is the particular object), it has access rights set properly and the application runs great.
I know it is this object, because when I disable it by unchecking "run on local computer", the app throws the same exception as mentioned above.
BUT on a computer with brand new windows XP installation and brand new MS Office 2007 or 2010 installation (without previous Office installed), there is no DCOM object about office powerpoint in dcomcnfg !!!
This must be a MS Office bug, did they forget to include DCOM objects in new installations?
This may be an off topic question. Is there a way to add the needed DCOM object without installing Older Office version?
Hope somebody will help.
Thanks a lot