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

Free Support Forum - aspose.com

Failed to set license. Details: Cannot find license 'Aspose.Total.lic'

After upgrading from 11.0.0.0 to 11.1.0.0 I'm getting the error below. Rolling back to 11.0.0.0 removes the error.

Failed to set license. Details: Cannot find license 'Aspose.Total.lic'.

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.InvalidOperationException: Failed to set license. Details: Cannot find license 'Aspose.Total.lic'.

Source Error:


Line 48:
Line 49: var pdfLicense = new AsposePdf.License();
Line 50: pdfLicense.SetLicense("Aspose.Total.lic");
Line 51:
Line 52: var slidesLicense = new AsposeSlides.License();

Source File: c:\Myproject\Global.asax.cs Line: 50

Stack Trace:


[InvalidOperationException: Failed to set license. Details: Cannot find license 'Aspose.Total.lic'.]
.?.SetLicense(String ) +196
Aspose.Pdf.License.SetLicense(String licenseName) +126
Myproject.Web.MvcApplication.Application_Start() in c:\Myproject\Global.asax.cs:50

[HttpException (0x80004005): Failed to set license. Details: Cannot find license 'Aspose.Total.lic'.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +9918157
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +118
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296

[HttpException (0x80004005): Failed to set license. Details: Cannot find license 'Aspose.Total.lic'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9932052
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254

Hi Morten,


Thanks for your inquiry. We have already noticed the issue and logged it as PDFNEWNET40040, our Product team is looking into this isuse on high priority. We will notify you as soon as it is resolved.

We are sorry for the inconvenience.

Best Regards,

The issues you have found earlier (filed as PDFNEWNET-40040) have been fixed in Aspose.Pdf for .NET 11.1.1 Hot fix.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.