Free Support Forum - aspose.com

Aspose License Problem

Hello,
We got our Aspose.Word license sometime in mid january order#050112122450. I downloaded the hot fix couple of days back and am now getting an error message while compiling and when i changed the source code to the new license code i get an exception.

Attached is my license code.
----------------------------------------------------------------
Dim licenseFilePath As String = ConfigurationSettings.AppSettings("AsposeLicenseLocation")
Dim licenseFile As String = licenseFilePath + "\Aspose.Word.lic"
'Aspose.Word.Word.SetLicense(licenseFile, Me)
Dim license As Aspose.Word.License = New Aspose.Word.License
license.SetLicense(licenseFile)
---------------------------------------------------------------

When i execute the application i get an error message as below.

Data at the root level is invalid Line1, Position 1.

Exception Details: System.Xml.XmlException: Data at the root level is invalid Line1, position 1.

"and the highlited block is"
license.SetLicense(licenseFile)

Help!!!!!!!!!

Sreenath

You need to upgrade your license to new format, please contact sales@aspose.com about how to do that.