Jump to content

Failed to create COM object : Access is denied IIS6/PHP/FastCGI


shankwheat

Recommended Posts

We have been running PHP 5.2.6 on IIS 6 without any issues but recently upgraded PHP to version 5.3.2 and FastCGI and can no longer create Excel files.  The only "solution" I've been able to find so far is to set the application pool to the local system account which seems like a security disaster waiting to happen.  I don't know what else to try. Thanks

 

<?php

$excel = new COM("Excel.Application") or die("Unable to instanciate excel");

?>

 

 

Uncaught exception 'com_exception' with message 'Failed to create COM object `Excel.Application': Access is denied

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.