Powerpoint COM Exception

  • Thread starter Powerpoint COM Exception
  • Start date
P

Powerpoint COM Exception

• We have asp.net application in which we are doing powerpoint automation in
windows XP SP2.
It is working fine sometimes. Some times it gives error as follows
System.Runtime.InteropServices.COMException (0x800706BA): Creating an
instance of the COM component with CLSID
{91493441-5A91-11CF-8700-00AA0060263B} from the IClassFactory failed due to
the following error: 800706ba.....
We are closing the com objects with following code.
if (pptpresentation != null)
{
pptpresentation.Close();
while
(System.Runtime.InteropServices.Marshal.ReleaseComObject(pptpresentation) >
0) { };
pptpresentation = null;
}
if (pptApplication != null)
{
pptApplication.Quit();
while
(System.Runtime.InteropServices.Marshal.ReleaseComObject(pptApplication) > 0)
{ };
pptApplication = null;
}
GC.Collect();
GC.WaitForPendingFinalizers();


Can anyone knows the reason and solution for this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top