We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Invalid License exception when downgrading Aspose.Email

We have recently upgraded our Aspose License to use versions from 2016, whereas our previous license allowed us to use versions from 2013. When installing our product with latest version Aspose.Email.dll (v for .NET 4.0 client profile) everything works fine with our new license file (which we have as an embedded resource in our application), but when we downgrade our product to the previous version using Aspose.Email.dll (v for .NET 2.0) which has the old license as an embedded resource we get the following exception when trying to call SetLicense();

" System.InvalidOperationException: The subscription included in this license allows free upgrades until 31 Oct 2013, but this version of the product was released on 29 Feb 2016. Please renew the subscription or use a previous version of the product.
" at ???.(Stream )
" at ???.(String , Assembly )
" at Aspose.Words.License.SetLicense(String licenseName)

Do you keep anything in registry when calling SetLicense() for a newer version that would stop an older version from working on that same machine?

Hi Barry,

Thank you for writing to Aspose support team.

Aspose.Email does not save anything in registry regarding the product version and license. It seems that somehow the old license is used with latest library. You may please send us the sample application which can be used to re-produce the issue here. It will help us to analyze the problem and provide assistance accordingly.