Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while loading module on DNN 9.8 #56

Open
Nicbobbo6 opened this issue Nov 30, 2020 · 6 comments
Open

Error while loading module on DNN 9.8 #56

Nicbobbo6 opened this issue Nov 30, 2020 · 6 comments

Comments

@Nicbobbo6
Copy link

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.d__249.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()`

@skamphuis
Copy link
Collaborator

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.

@Nicbobbo6
Copy link
Author

Nicbobbo6 commented Nov 30, 2020

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.

@Timo-Breumelhof
Copy link
Collaborator

Is this about the main module or the news articles latest module?

@Nicbobbo6
Copy link
Author

it is about news articles latest module

@Timo-Breumelhof
Copy link
Collaborator

Can you post the template used?

@Timo-Breumelhof
Copy link
Collaborator

I have the module running on 9.8.1 too and it works a s expected..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants