shabbirh / elmah

Automatically exported from code.google.com/p/elmah
Apache License 2.0
0 stars 0 forks source link

ELMAH : Not logging correctly #300

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

Problem:
How to log to the database and also have the ErrorLog_Logged event to fire.

What steps will reproduce the problem?
1.I add <errorLog type="Elmah.SqlErrorLog, Elmah" 
connectionStringName="connNameCommon" /> to the <elmah> tag
2. Then in global.asax the event ErrorLog_Logged stops firing.
3.Once I remove <errorLog type="Elmah.SqlErrorLog, Elmah" 
connectionStringName="connNameCommon" />, then ErrorLog_Logged fires again.  

What is the expected output?
I expect to log to the database and also have the ErrorLog_Logged event to fire.

I have attached my global.asax and web.config files.

Thank you,
-Tesh

Original issue reported on code.google.com by always...@gmail.com on 11 Jul 2012 at 3:42

Attachments: