Yeah, this question is repeated, but, I swear to you that I read every single link on stackoverflow and google and I'm going crazy with this issue.
I tried a lot of things, I going to put some of them here. None of these worked.
My system:
- Windows Server 2008
- Using PHP with class COM to call an object that is not from the system, but from a desktop program called Sage Murano (LogicClass)
- IIS (Internet Information Services)
My php, ubicated in C:\inetpub\wwwroot\blahblah\foo.php:
<?php
ini_set("com.allow_dcom","true");
$conn = new COM("LogicControlOEM.OEM_EjecutaOEM") or die("Error");
?>
I've tried:
Find out the registers, their keys or whatever, and I gave permissions in all folders that contains "EjecutaOEM" to users:
- Administrator
- Everybody
- Anonymous logon
- IUSR_SERVIDOR (IIS)
- More permissions http://www.figured-it-out.com/figured-out.php?sid=24
- Then enable 32 bits on IIS https://help.webcontrolcenter.com/kb/a1114/how-to-enable-a-32-bit-application-pool-in-iis-7-dedicated-vps.aspx
Some ideas to try?