I have a legacy DNN site, and an error shows up at the top of the page telling me that one of the modules failed to load. That's wonderful, but that doesn't tell me a damned thing about why the module didn't load. Does anyone unfortunate enough to work with DotNetNuke know how to view a stack trace when a module explodes? I keep looking for a "No, seriously..." button, and I haven't found one yet.



Was it helpful?


When you aren't logged in, that's the only message you're going to see. I think you need to be a host user to see the error message in-line, in place of the module, but as an admin user you can go to the Event Viewer (or Log Viewer, depending on your version of DNN) page in the Admin menu.

However, since you can't login, you'll need to look at that table in the database, since you can't access the page. That table is called EventLog (there will be a prefix to that name if your site uses an object qualifier).

To start with, try a query like this:


You're going to want to look mostly at the LogProperties column, which has XML about the event. One of the nodes will be a stack trace.

Hope that helps.


There is an event viewer in the admin or host menu.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow