sun197 / 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 8 years ago

GoogleCodeExporter commented 8 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:

GoogleCodeExporter commented 8 years ago
This issue has been migrated to:
https://github.com/elmah/Elmah/issues/300
The conversation continues there.
DO NOT post any further comments to the issue tracker on Google Code as it is 
shutting down.
You can also just subscribe to the issue on GitHub to receive notifications of 
any further development.

Original comment by azizatif on 25 Aug 2015 at 8:23