none
Writing asp.net on windows 7 - Retrieving the COM class factory for component with CLSID {91493441-5A91-11CF-8700-00AA0060263B} failed due to the following error: 80070005.

    Question

  • Hi,
    When I tried an asp.net program on win 7 using vs 2008, and IIS 7, I received the error:
    Retrieving the COM class factory for component with CLSID {91493441-5A91-11CF-8700-00AA0060263B} failed due to the following error: 80070005.
    The error code part is :
    using PPT = Microsoft.Office.Interop.PowerPoint;

    Line 23:     {
    Line 24:         string swfFile = "E:\\Works\\Websites\\PPT_cache\\flare.demos.swf";
    Line 25:         PPT.Application pptApp = new PPT.ApplicationClass(); ;
    Line 26:         PPT.Presentation pptDoc;
    Line 27:         PPT._Slide slide;
    I tested this on xp, I have to change security setting on "Component services" for "Microsoft Powerpoint Presentation" (this solution is from google search), but there is no power point in windows 7 "Component services" at all, so How could I make iis user to access power point application on win 7 to solve the issue.

    Thanks a lot.
    Ren Hua
    • Moved by eryang Friday, January 15, 2010 7:32 AM (From:64-Bit .NET Framework Development.)
    Thursday, January 14, 2010 3:53 PM

All replies