I have a classic asp application where I am trying to use the Aspose dll for html to pdf conversion.
I registered the Aspose pdf using the command
regasm D:\Aspose\Aspose.Pdf.dll /codebase D:\Aspose\Aspose.Pdf.dll
And the html to pdf conversion is working fine without the license file(message displays:Evaluation Only. Created with Aspose.Pdf. Copyright 2002-2010 Aspose Pty Ltd.).
I am using the below code and I get an exception in the second line saying "The license is for a different product or corrupted." The same license is working fine in .net applications. Is it because Iam using SetLicenseCOM function. Could you please help.
Set pdf1 = server.CreateObject("Aspose.Pdf.Pdf")
pdf1.SetLicenseCOM("D:\Aspose\Aspose.Total.lic")