ActiveXperts Knowledge Base Article 1660020

Q1660020 - I'm using XAMPP to run your ActiveX component. I get the error: "Uncaught Error: Class "COM" not found in C:\Xampp\htdocs\networkcomponent\index.php". What's wrong?

By default, COM is disabled in Xampp. You must enable COM in your PHP.INI file:
extension=php_com_dotnet.dll

Besides that, make sure you register both 32-bit and 64-bit DLL's to avoid errors like "Uncaught com_exception: Failed to create COM object 'AxNetwork.DnsServer': Invalid syntax in C:\Xampp\htdocs\networkcomponent\index.php".
To do so, please register both 32-bit and 64-bit DLL's from the command line in Admin mode:
REGSVR32 AxNetwork32.dll
REGSVR32 AxNetwork64.dll


Contact Support

If you cannot find an answer to your question(s) in our Knowledge Base, or if you need additional information or assistance, please contact our Customer Support using the Contact Support form:
Contact Support »

M