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
<%
'#####################################################################
'//Subroutines
Sub CreateAsposeObj
'// CREATE THE ASPOSE.WORDS COMHELPER ASP WRAPPER OBJECT TO EDIT 6:WORD DOCUMENTS
set comHelper = Server.CreateObject("Aspose.Words.ComHelper")
licenseFile = rw_cfg("basedir") & "lib\Aspose.Words.lic"
Set License = Server.CreateObject("Aspose.Words.License")
License.SetLicense(licenseFile)
If Err.number <> 0 Then
Response.redirect("/Error.asp?Message=ASPOSE OBJECT COULD NOT BE CREATED - " & err.description )
Response.end
End If
strMergeDoc = strPdfDocSetTmpPath & "MergeDocument.doc"
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?