Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: ocean10000
Trying to configure a Windows IIS 7.0 server with PHP.
PHP is installed, and is working, other than one part which is with COM objects (I'm trying to interface to MS Office).
The error I get in my browser (as well as a 500 header) is:-
The line of code causing this is:-
PowerPoint is installed on the server, but it appears IIS doesn't have the right permissions to access COM objects?
We think this might be sorted via component services (Computers -> My Computer -> COM+ Applications) but I've had a play in there and can't find anything which looks like a solution.
So I'm hoping an IIS 7.0 expert might be able to point me in the right direction ?
Considerations for server-side Automation of Office [support.microsoft.com]
There are no security issues as this is not a public server. It's a server behind a corporate network that takes a .ppt file and converts to JPEG images.
All working localhost with IIS 5.0. Problem appears to be IIS 7.0 which is what's on the server, so we can't deploy.
Any thoughts/pointers ?
As a side note another source of tools, which might be worth you looking into is from Aspose. They provide tools to access office files without requiring office installed. They have a product called slides which might give you similar results with less hassle. I have never used them outside of Dot.net but I know they offer a COM interface for them.
(Note I am a current customer of Aspose)