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

Free Support Forum - aspose.com

Words for .Net on Windows 2008 R2 64-bit

Hello

We have had a very working simple, but old installation of Aspose.Net (version 5.2.1) on Windows Server 2003 (32-bit). All we do is to convert files contain html to new files that contain wordml, using a VB script that creates the following objects Aspose.words.license and Aspose.words.ComHelper to do the conversion. This has worked fine for years.

We are now migrating to Windwos Server 2008 R2 (64-bit) and are now experiencing problems. Aspose was automatically installed into Program Files (x86) and so we copies our license file there instead of Program Files. The install was successful.

However with the VBScript which simply starts with:

Dim License

Set License = CreateObject("Aspose.words.License")

we get the following error signalled: "ActiveX component can't create object: "Aspose.words.License" with Code: 800A01AD.

We've checked the Registry and the references to the DLLs seem to point to the correct location.

Do you have any hints - this is quite urgent.

Thanks

Peter Tinley

Hello, I have now found the fix for this. I had to run the following two commands:

C:\Windows\Microsoft.NET\Framework\v2.0.50727\regasm "C:\Program Files (x86)\Aspose\Aspose.Words\Bin\net2.0\Aspose.Words.dll" /codebase<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

C:\Windows\Microsoft.NET\Framework64\v2.0.50727\regasm "C:\Program Files (x86)\Aspose\Aspose.Words\Bin\net2.0\Aspose.Words.dll" /codebase

and the objects were now able to be created.

Hi Peter,

It is nice to hear from you that you have found the solution of your query. I suggest you please read following documentation link for your kind reference. Please let us know if you have any more queries.
http://www.aspose.com/docs/display/wordsnet/Use+Aspose.Words+for+.NET+via+COM+Interop