shankwheat Posted January 19, 2010 Share Posted January 19, 2010 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 Quote Link to comment https://forums.phpfreaks.com/topic/189050-failed-to-create-com-object-access-is-denied-iis6phpfastcgi/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.