Free Support Forum - aspose.com

Aspose.Words error '80004003' Object reference not set to an instance of an object

Help!

Just was made aware of a tester that received the following error:

Aspose.Words error '80004003'
Object reference not set to an instance of an object.
/Includes/DocFunctions.asp, line 10

1:<%
2:'#####################################################################
3:'//Subroutines
4:Sub CreateAsposeObj
5: '// CREATE THE ASPOSE.WORDS COMHELPER ASP WRAPPER OBJECT TO EDIT 6:WORD DOCUMENTS
7: set comHelper = Server.CreateObject("Aspose.Words.ComHelper")
8: licenseFile = rw_cfg("basedir") & "lib\Aspose.Words.lic"
9: Set License = Server.CreateObject("Aspose.Words.License")
10: License.SetLicense(licenseFile)
11: If Err.number <> 0 Then
12: Response.redirect("/Error.asp?Message=ASPOSE OBJECT COULD NOT BE CREATED - " & err.description )
13: Response.end
14: End If
15: strMergeDoc = strPdfDocSetTmpPath & "MergeDocument.doc"
16:End Sub

I can't reproduce the error, but I tried changing the path to the license file, but received a "Cannot find license file" error, so that's not the problem.

Can you help me?

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. Could you please ask your tester how we can reproduce this issue? Maybe there are some specific actions we should do to reproduce it.

Best regards.

Thanks for your quick response.

Good news. After reading one of the Aspose posts about this error we fixed the problem by performing a IISRESET.

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

It is very nice that you found solution independently.

Best regards.