Error:Server Error in '/LOUPeProject.WebDummy' Application. Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.PowerPoint.Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{91493442-5A91-11CF-8700-00AA0060263B}' failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)). Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.PowerPoint.Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{91493442-5A91-11CF-8700-00AA0060263B}' failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)). Source Error: Line 2347: } Line 2348: Line 2349: Microsoft.Office.Interop.PowerPoint.Application pptApplication = new Microsoft.Office.Interop.PowerPoint.Application(); Line 2350: Line 2351: Microsoft.Office.Interop.PowerPoint.Slides slides;
PowerPoint
IIS
Hi, Imtiyaz Ansari, i got solutoin for this problem.I just delete the Key from the Registry Editor and it's working now.The Procedure is:Start--> Run --> regedit &HKEY_CLASSES_ROOT-->TypeLib-->{00020813-0000-0000-C000-000000000046} --> 1.8(Delete one)I Delete that 1.8 Key.Now it's working fine.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)