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

Free Support Forum - aspose.com

Aspose.Words (classic ASP- vbscript)

I'm trying to install Aspose.Words on Windows 2003 Server. I downloaded and used:
Aspose.Words.msi

Appears to have installed ok, but when testing, I get this error:
Microsoft VBScript runtime error '800a01ad'

ActiveX component can't create object:

'Aspose.Words.ComHelper' /word_aspose.asp, line 2

Here's the code:
<%
Set objWord = CreateObject("Aspose.Words.ComHelper")
%>

Anyone had this problem and/or have a solution?



Hi Bill,

Thanks for your inquiry. Please make sure you have registered the assembly with /codebase flag as suggested in the documentation:
http://www.aspose.com/docs/display/wordsnet/Use+Aspose.Words+for+.NET+via+COM+Interop

Please read following documentation links for your kind reference.
http://www.aspose.com/docs/display/wordsnet/ASP%2C+VBScript+++Aspose.Words+for+.NET

Please let us know if you have any more queries.

As suggested, I ran the following:
C:\ClientApps\wxpsp2\i386>regasm "C:\Program Files\ASPOSE\Aspose.Words for .NET\bin\net2.0\aspose.words.dll" /codebase

And received this error:
=====================================================
C:\ClientApps\wxpsp2\i386>regasm "C:\Program Files\ASPOSE\Aspose.Words for .NET\
bin\net2.0\aspose.words.dll" /codebase
Microsoft (R) .NET Framework Assembly Registration Utility 1.0.3705.6018
Copyright (C) Microsoft Corporation 1998-2001. All rights reserved.

RegAsm error: Could not load file or assembly 'Regcode, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
=====================================================

Something not playing nice together. But wait, if I move the aspose.wrods.DLL and aspose.words.XML to the same folder (and obviously no need for spaces in the file name any longer), it works:

=====================================================
C:\ClientApps\wxpsp2\i386>regasm aspose.words.dll
Microsoft (R) .NET Framework Assembly Registration Utility 1.0.3705.6018
Copyright (C) Microsoft Corporation 1998-2001. All rights reserved.

Types registered successfully
=====================================================

BUT, now, this code:
<%
Dim objWord
Set objWord = CreateObject("Aspose.Words.ComHelper")
%>

Produces, this error:
error '80070002'

/word_aspose.asp, line 3


Ideas? Permissions issue?



Sorry, fixed my own problem! I forgot the “/codebase” at the end of the command line.


This worked for me:
C:\ClientApps\wxpsp2\i386>regasm aspose.words.dll /codebase






Hi Bill,

Thanks for your feedback. It is nice to hear from you that you have solved your issue. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.

Well, now it’s stop working. I’ve got the evaultion version and it HAS NOT been 30 days.


This line of code:
Set objWord = CreateObject(“Aspose.Words.ComHelper”)

Generates this error:
error '80070002’

I had previously (and can still) register(ed) the DLL with this:

C:\ClientApps\wxpsp2\i386>regasm Aspose.Words.dll /codebase
Microsoft ® .NET Framework Assembly Registration Utility 1.0.3705.6018
Copyright © Microsoft Corporation 1998-2001. All rights reserved.

Types registered successfully

Now fixed! To fix it, I had to stop and then restart the World Wide Web Publishing Service. That’s a HUGE problem. What would have caused the problem in the first place and why did restarting the www service fix it?




Hi Bill,

Thanks for your inquiry. Perhaps, there is some issue at your side. Aspose.Words does not require to restart World Wide Web Publishing Service. Aspose.Words only need to register the with /codebase flag as suggested in the documentation.