Fix PowerPoint Export on IIS Turning Embedded Videos into Static Images
Question details
The user is trying to export PowerPoint presentations with embedded videos in an IIS environment, but the videos are being rendered as static images.

- Product
- Microsoft PowerPoint / IIS
- Device & OS
- not provided
- Scenario
- Automating PowerPoint export processes within a web application hosted on Internet Information Services (IIS).
- Observed behavior
- While the video export works perfectly in Visual Studio and IIS Express, embedded videos are converted into static images when the application is run under IIS.
Ensure you have administrative access to the IIS server to check Application Pool identities, folder permissions, and installed media codecs.
Migrate to Supported Server-Side Media Processing Libraries
Replace Microsoft Office Interop with dedicated server-side libraries to ensure reliable video processing, as Office automation is not supported in unattended IIS environments.
Microsoft explicitly advises against using Office Interop for unattended server processes like IIS or ASP.NET. Server environments lack the interactive desktop session required by PowerPoint to render multimedia properly.
To achieve reliable server-side video generation, it is best to avoid automating the PowerPoint desktop application entirely.
Identify and remove the Microsoft.Office.Interop.PowerPoint references from your web application project.
Integrate a supported media-processing library or a commercial document conversion API designed specifically for server-side environments to handle the video rendering and export.

Configure IIS Application Pool Permissions
Grant necessary permissions to the IIS Application Pool identity if you must temporarily continue using Office automation.
Install Missing Codecs and Media Components on the Server
Ensure the IIS server has the same video codecs and media capabilities as your local development environment.
Try WPS Office for Reliable Presentation Workflows
While server-side Microsoft Office automation poses inherent limitations, your everyday desktop presentation tasks shouldn't be a hassle. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office for all your document needs.
- 1. Download the Installer: Visit the official WPS website to download the free installation package for your operating system.
- 2. Install WPS Office: Run the downloaded installer and follow the on-screen instructions to complete the setup.
- 3. Open Your Presentations: Launch WPS Presentation and open your PowerPoint files to enjoy seamless multimedia playback and smooth exporting.

Frequently Asked Questions
Why does PowerPoint export work in IIS Express but fail in IIS?
IIS Express runs interactively under your current user account, granting it full access to the interactive desktop session and media components. In contrast, IIS runs as a background service (unattended), which lacks the desktop session required by Microsoft Office automation to render embedded videos properly.
Will changing the video format fix the IIS export issue?
Converting videos to highly compatible formats like MP4 or WMV can sometimes help if the server was merely missing a specific codec. However, it usually does not overcome the fundamental limitations of server-side Office automation. If the server lacks the interactive desktop environment, even standard formats will often render as static images.
What is the best alternative to Office Interop for server-side processing?
For reliable server-side document and video generation, it is highly recommended to use supported conversion services, the Open XML SDK, or dedicated commercial media-processing APIs instead of automating the desktop PowerPoint application in IIS.




