Problem with using PowerPoint 2003 ins ASP.NET

Problem with using PowerPoint 2003 ins ASP.NET

Post by Marc Eggen » Tue, 15 Jul 2003 19:12:48

Hi there.

I have an webapp ( which should use powerpoint to create a
presentation and then send that presentation to the user.

I'm using VS2003 and Office2003 (project req.).

The webapp runs find but when I try to open powerpoint in my
code I get an error

COM object with CLSID {91493441-5A91-11CF-8700-00AA0060263B} is either
not valid or not registered.

The Code is at end.
The code runs fine with an Windowsapp.
I have set the Copy Local in the References of the dll's to true so the
Interop dll's are there.

What am I doing wrong here?


//Oeffne PowerPoint
PowerPoint.Application objApp;
PowerPoint.Presentations objPresSet;
PowerPoint._Presentation objPres;
PowerPoint.Slides objSlides;
PowerPoint._Slide objSlide;
PowerPoint.TextRange objTextRng;
Graph.Chart objChartPP;

//Wegen Bug Q320369

System.Threading.Thread.CurrentThread.CurrentCulture =

objApp = new PowerPoint.Application();
objApp.Visible =
objPresSet = objApp.Presentations;
objPres = objPresSet.Open(".\\Vorlagen
\\pp1.ppt", Microsoft.Office.Core.MsoTriState.msoFalse,
objSlides = objPres.Slides;

catch(Exception fehler)
" + fehler.Message);
Marc Eggenberger

1. VS.NET 2003 using ASP.NET & VB.NET -- IDE design time problems?

2. Problem migrating ASP.NET 1.1 to ASP.NET 2.0 beta using VS2005


I have my ASP.NET 1.1 solution working fine.I am trying to convert it
to whidbey one using built-in conversion wizard that ships with
VS2005.After running this wizard it shows few errors in the resultant
XML file. One strange line I noticed was, It has removed
"myproject.vbproj" file and then all subsequent files could not be
parsed successfully.

"Failed parsing XYZ.ascx.vb or XYZ.aspx.vb or XYZ.vb"

Is ther any step by step documentation guide available for migrating
or Any workaround for the above problem...

Regards and Thanks


3. ASP.NET Application using Virtual path provider Deployement Problem on IIS windows Server 2003

4. "ASP.NET 2005 custon server control" in "ASP.NET 2003 application"

5. Problems with ASP.NET (using frontpage 2003)

6. Problem creating ASP.NET App with Visual Studio.NET 2003 and Windows XP Pro

7. Access 2003 and, problem

8. Problem: Editing ASP.NET pages in VS.NET 2003

9. Newbie: using 2.0 profile in an ASP.NET web service

10. VS.NET 2003 cannot debug ASP.NET on Windows 2003

11. Setting Terminal Services settings using ASP.NET (or... calling Server-side vbscript from ASP.NET)

12. Migrating ASP.NET projects between VS.NET 2002 and VS.NET 2003

13. VS.NET 2003 - ASP & ASP.NET debugging grayed out

14. PowerPoint versions puzzle: PowerPoint 2003 to PowerPoint 2007, PowerPoint 2007 to PowerPoint 2003?

15. Problem compiling ASP.NET webpages using VC#.NET 2002