Free Support Forum - aspose.com

CreateObject failed on IIS 6

We've been using the Aspose.Word installed on Win 2000 server with IIS5 with no problem

Recently, we moved our website and databases to another server which runs Win 2003 with IIS6.

So I installed the latest Aspose.Word on the new server, and the very first CreateObject - which is CreateObject("Aspose.Words.License") failed.

I checked the permissions and the folder has same permission as the old server has.

Here is the error message I get:

error '8000ffff'

/..../save.asp, line 66

The line 66 is:

Set license = CreateObject("Aspose.Words.License")

Thank you for the help!!

Hi

Thanks for your inquiry. Unfortunately, I can’t reproduce this problem on my side. You can try registering Aspose.Words assambly in GAC.

I used the following code for testing.

'Create a document

Dim license

Set license = CreateObject("Aspose.Words.License")

license.SetLicense(Server.MapPath("Aspose.Words.lic"))

Dim Doc

Set Doc = CreateObject("Aspose.Words.Document")

'Create a DocumentBuilder

Dim Builder

Set Builder = CreateObject("Aspose.Words.DocumentBuilder")

Builder.Document = Doc

Builder.Font.Size = 48

Builder.Writeln("Hello world!")

doc.Save(Server.MapPath("out.doc"))

Best regards.