Open Nicbobbo6 opened 3 years ago
Hi, can you please elaborate on when and how this error occurs? I tried the module on a DNN9.8 instance but have not seen any errors yet. Also, from the exception message, this looks like a DNN error, not a news articles one.
I just upgrade my instance from DNN 7.4.2 to DNN 9.8. I update the module to the latest version (0.12.0). When I load my homepage, witch contain News Articles Latest, It trigger this error and my website don't load. After removing the dlls Ventrian.NewsArticles, Ventrian.NewsArticles.Secure.dll and Ventrian.NewsArticles.SqlDataProvider.dll, my website load and work correctly.
Is this about the main module or the news articles latest module?
it is about news articles latest module
Can you post the template used?
I have the module running on 9.8.1 too and it works a s expected..
While loading module NewsArticleLatest (0.12.0) on DNN 9.8, it cause this error `Message:Une exception a été levée par l'initialiseur de type pour 'System.Web.Helpers.AntiForgery'.
StackTrace:
InnerMessage:Une exception a été levée par l'initialiseur de type pour 'System.Web.Helpers.AntiForgery'.
InnerStackTrace:
à System.Web.Helpers.AntiForgery.GetHtml() à DotNetNuke.Framework.ServicesFrameworkImpl.RegisterAjaxAntiForgery(Page page) à DotNetNuke.Framework.PageBase.OnPreRender(EventArgs e) à DotNetNuke.Framework.DefaultPage.OnPreRender(EventArgs evt) à System.Web.UI.Control.d249.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
à System.Web.Util.WithinCancellableCallbackTaskAwaitable.WithinCancellableCallbackTaskAwaiter.GetResult()
à System.Web.UI.Page.d 523.MoveNext()`