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