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?
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?