We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Failed to create COM object `Aspose.Words.ComHelper'

I’m using PHP, i was installed Aspose.Words for .NET 16.2.0. my .NET framework is, Microsoft .NET Framework 4.5 Multi-Targeting Pack. when i run this it’s return this error.

//return error in here
$helper = new COM(“Aspose.Words.ComHelper”);
$builder = new COM(“Aspose.Words.DocumentBuilder”);
$license = new COM(“Aspose.Words.License”);
Fatal error: Uncaught exception ‘com_exception’ with
message ‘Failed to create COM object Aspose.Words.ComHelper' in C:\wamp\www\word_doc\index.php on line <i>6</i></font><br><font size="1">com_exception: Failed to create COM objectAspose.Words.ComHelper’: Invalid syntax
in C:\wamp\www\word_doc\index.php on line 6

i’m stuck here. please help me.

Hi there,

Thanks for your inquiry. Please read the following article to work with PHP and Aspose.Words.
PHP and Aspose.Words for .NET

You can configure your PHP to work with COM. Please see http://www.php.net/manual/en/book.com.php for more information. Also please read Using Aspose.Words for .NET via COM Interop. Hope this helps you.