Connect with Peer Bloggers

Get your Bloggers ID and network with best bloggers around the world.

8

Elmah not logging, elmah.axd page is always null when using SqlErrorLog

Czetsuya
czetsuya's tech ― First make sure that you're web.config file is setup properly and that you have defined elmah to handle the error in each controller. You can do that easily in c# mvc3 by using nuget and downloading elmah, elmah.corelibrary and elmah.contrib.mvc. Also double check that you have the ff in your database:1.) Table: Elmah_Error2.) SP: ELMAH_GetErrorsXml, ELMAH_GetErrorXml, ELMAH_LogErrorNote that you can download the scripts from elmah website: http://code.google.com/p/elmah/Then remove errorLog[...]

Voted by 1 User



What would you say?

Be the first to comment on this blog post! Sign in or Create an account.