What does the COM 80010108 exception mean?

I am trying to create a PowerPoint presentation from a C # .NET application.

For the most part it works, but from time to time I see this error in my logs:

Creating an instance of the COM component with CLSID
{91493441-5A91-11CF-8700-00AA0060263B} from the IClassFactory failed due
to the following error: 80010108.

      

The line causing this exception:

Microsoft.Office.Interop.PowerPoint.ApplicationClass oPPT =
         new Microsoft.Office.Interop.PowerPoint.ApplicationClass();

      

Does anyone know what this means and how I can avoid it?

+2


source to share


2 answers


The error code represents the RPC_E_DISCONNECTED error. There are many reasons why a particular error code might appear, and we need a little more information to understand what is happening.



If you have any more data, connect it to google with RPC_E_DISCONNECTED and you will probably get a lot of results. There seems to be a lot of articles related to office, managed code and RPC_E_DISCONNECTED

+2


source


The error message means "The callee has been disconnected from its clients."

Try to create an object using



    ApplicationClass oPPT = (ApplicationClass)Activator.CreateInstance(typeof(ApplicationClass));

      

+2


source







All Articles