Hi,
While trying to set aspose.words license i get the following exception. Could you please help me identify what is causing the exception ?
at System.Reflection.Emit.InternalAssemblyBuilder.GetManifestResourceNames()
at x28925c9b27b37a46.x220f433da4115056.x0004f58017c756bc(Assembly xd3764619ec304ff0, String xf3a1146bd8778bac)
at x28925c9b27b37a46.x220f433da4115056.xde6236852622c268(String x1c1fc72fe1a3b4ea, Assembly x39e0a96279c40baa)
at x28925c9b27b37a46.x220f433da4115056.x7d0214bf69711dd9(String x1c1fc72fe1a3b4ea, Assembly x5807f920b6fc67c4)
at Aspose.Words.License.SetLicense(String licenseName)
at CdcSoftware.Respond.Server.DocumentConverter.DocToPdf(Byte[] wordFileData) in g:\Respond\5.11\5.11.1\Release\Source Code\Server\Common\Encoding\DocumentConverter.cs:line 28
at CdcSoftware.Respond.BusinessLayer.CaseManagement.EntityManager.SaveTemplateAttachmentDataToDatabase(Case caseEntity, Attachment attachment, Byte[] data, DateTime lastModifiedTime) in g:\Respond\5.11\5.11.1\Release\Source Code\Server\BusinessLayer\CaseManagement\EntityManager.cs:line 6632
at CdcSoftware.Respond.BusinessLayer.CaseManagement.EntityManager.SaveAttachmentDataToDatabase(Case caseEntity, Attachment attachment, Byte[] data) in g:\Respond\5.11\5.11.1\Release\Source Code\Server\BusinessLayer\CaseManagement\EntityManager.cs:line 6582
Code used to set license -
Aspose.Words.License asposeWordLicense = new Aspose.Words.License();
asposeWordLicense.SetLicense(“Aspose.Words.lic”);
The license is added as am embedded resource and i am using .Net 4.0.
I have tried using both Aspose.Words 13 and 14. Both gives the same exception. Any help is greatly appreciated.
Thanks,
Vaishnavi