Free Support Forum - aspose.com

How to set the aspose.word license?

Server Error in ‘/Aspose.Word.Demos’ Application.

The license is for a different product or corrupted.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: The license is for a different product or corrupted.

Source Error:

Line 15: public Global() Line 16: { Line 17: Word.SetLicense(“H:\share 213 f\BereckbolBusinessSolution\License\Aspose.Word.lic”); Line 18: InitializeComponent(); Line 19: } 


when I try to set the license, this error occure. aspose.word admin please help.

Thanks.

Hi,

Thank you for considering Aspose.

Please use License.SetLicense as described here:

http://www.aspose.com/Wiki/default.aspx/Aspose.Word/Licensing.html