Hi,
My client has just purchased the Words,Slides and PDF licenses.When I try to include it in ‘Global.asax’ this is the message I receive.The old license(‘Custom.lic’) doesn’t produce this error.
<span style=“font-size:18.0pt;font-family:“Verdana”,“sans-serif”;color:red” lang=“FR-CH”>Erreur du serveur dans l’application ‘/translation’.
<span style=“font-size:14.0pt;font-family:“Verdana”,“sans-serif”;color:maroon”>The license is not valid for this product.<span style=“font-size:14.0pt;font-family:“Verdana”,“sans-serif”;color:maroon”>
<span style=“font-size:8.5pt;font-family:“Verdana”,“sans-serif”;color:black” lang=“FR-CH”>Description : <span style=“font-size:8.5pt;font-family:“Arial”,“sans-serif”;color:black” lang=“FR-CH”>Une
exception non gérée s’est produite au moment de l’exécution de la
demande Web actuelle. Contrôlez la trace de la pile pour plus
d’informations sur l’erreur et son origine dans le code.
<span style=“font-size:8.5pt;font-family:“Verdana”,“sans-serif”;color:black”>Détails de l’exception: <span style=“font-size:8.5pt;font-family:“Arial”,“sans-serif”;color:black”>System.InvalidOperationException: The license is not valid for this product.
<span style=“font-size:8.5pt;font-family:“Verdana”,“sans-serif”;color:black”>Erreur source:<span style=“font-size:8.5pt;font-family:“Arial”,“sans-serif”;color:black”>
<span style=“font-size:9.0pt;font-family:“Lucida Console”;color:black”> <span style=“font-size:9.0pt;font-family:“Lucida Console”;color:black”>Ligne 20 : ’ Code that runs when a new session is started <span style=“font-size:9.0pt;font-family:“Lucida Console”;color:black”>Ligne 21 : Dim lic As Aspose.Words.License = New Aspose.Words.License <span style=“font-size:9.0pt;font-family:“Lucida Console”;color:red”>Ligne 22 : lic.SetLicense(HttpContext.Current.Server.MapPath(“bin”).ToString + “\” + “Aspose.Words.lic”) <span style=“font-size:9.0pt;font-family:“Lucida Console”;color:black”>Ligne 23 : <span style=“font-size:9.0pt;font-family:“Lucida Console”;color:black”>Ligne 24 : End Sub |
<span style=“font-size:8.5pt;font-family:“Arial”,“sans-serif”;color:black” lang=“FR-CH”>
<span style=“font-size:8.5pt;font-family:“Verdana”,“sans-serif”;color:black” lang=“FR-CH”>Fichier source : <span style=“font-size:8.5pt;font-family:“Arial”,“sans-serif”;color:black” lang=“FR-CH”>D:\inetpub\vhosts\001translations.com\httpdocs\translation\global.asax<span style=“font-size:8.5pt;font-family:“Verdana”,“sans-serif”;color:black” lang=“FR-CH”> Ligne : <span style=“font-size:8.5pt;font-family:“Arial”,“sans-serif”;color:black” lang=“FR-CH”>22
<span style=“font-size:8.5pt;font-family:“Verdana”,“sans-serif”;color:black” lang=“FR-CH”>Trace de la pile:<span style=“font-size:8.5pt;font-family:“Arial”,“sans-serif”;color:black” lang=“FR-CH”>
<span style=“font-size:9.0pt;font-family:“Lucida Console”;color:black” lang=“FR-CH”> <span style=“font-size:9.0pt;font-family:“Lucida Console”;color:black”>[InvalidOperationException: The license is not valid for this product.] <span style=“font-size:9.0pt;font-family:“Lucida Console”;color:black”> x28925c9b27b37a46.x220f433da4115056.x7d0214bf69711dd9(Stream xcf18e5243f8d5fd3) +761 <span style=“font-size:9.0pt;font-family:“Lucida Console”;color:black”> x28925c9b27b37a46.x220f433da4115056.x7d0214bf69711dd9(String x1c1fc72fe1a3b4ea, Assembly x5807f920b6fc67c4) +101 <span style=“font-size:9.0pt;font-family:“Lucida Console”;color:black”> Aspose.Words.License.SetLicense(String licenseName) +41 <span style=“font-size:9.0pt;font-family:“Lucida Console”;color:black”> <span style=“font-size:9.0pt;font-family:“Lucida Console”;color:black”> System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +8795092 <span style=“font-size:9.0pt;font-family:“Lucida Console”;color:black”> System.Web.SessionState.SessionStateModule.CompleteAcquireState() +237 <span style=“font-size:9.0pt;font-family:“Lucida Console”;color:black”> <span style=“font-size:9.0pt;font-family:“Lucida Console”;color:black”> System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +66 <span style=“font-size:9.0pt;font-family:“Lucida Console”;color:black”> System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155 |
Thanks