Hi, Folks.
I've been trying to implement Elmah error logging for our DW sites without much success. Does anyone have experience of getting Elmah working with DW?
Cheers.
Hi, Folks.
I've been trying to implement Elmah error logging for our DW sites without much success. Does anyone have experience of getting Elmah working with DW?
Cheers.
I have no experience, but from the docs it looks pretty straight forward. What kind of issues have you run into?
Thanks for the reply.
Elmah is usually really straight forward to install. I've ran into problems with dynamicweb because the logging pages aren't accessible (it logs data in to memory and then displays it via an axd file). You can also write logs to a DB, which again is pretty easy to do but I couldn't get that to work either. I am pretty new to DW and learning through the tutorials and as I go along. I wondered if it was anything to do with DW preventing MVC from displaying non DW pages?
Cheers.
Hi Craig
Dynamicweb does not prevent MVC if you configure your solution for it, see this article: http://doc.dynamicweb.com/documentation-8/how-tos/install-setup/setting-up-dynamicweb-with-asp-net-mvc
With Elmah you add a http handler mapping in your web.config and that should be straight forward also in a Dynamicweb solution.
So how does your webconfig look like in your solution with Elmah installed? And what response code do you get from /elmah.axd? You can take the response headers from that request from your browsers developer tools and post them here - so I can see if Dynamicweb does something.
BR Nicolai
You must be logged in to post in the forum