elmah / Elmah

Error Logging Modules & Handlers for ASP.NET
https://elmah.github.io/
Apache License 2.0
306 stars 65 forks source link

Doesn't work with an oracle database #393

Closed atifaziz closed 8 years ago

atifaziz commented 8 years ago

Originally reported on Google Code with ID 393

Hi,
I have an asp.net mvc4 application and I'm looking to do the error handling with elmah.
I want to save my log in an oracle database so I ran the oracle.sql script from the
source of elmah. But with this web.config(bellow), I can't acces to the elmah page
with all the log and nothing is store into the database : 
<connectionStrings>
    <add name="elmah-oracle" connectionString="data source=****;password=******;user
id=*****"/>
<\connectionStrings>
....
<elmah>
    <errorLog type="Elmah.OracleErrorLog, Elmah" connectionStringName="elmah-oracle"
/>
<\elmah>

And also, everything works fine if I'm using xml files as storage.

What is the expected output? What do you see instead?
I was suppose to see the elmah log page and I'm only seeing my custom error page. None
of the error that I can get are save in the database.

What version of the product are you using? On what operating system?
I'm using elmah 1.2.2 on win 7 with an asp.net mvc4 website. 

Thanks for your help

Reported by nachoumm on 2015-06-18 07:21:19

atifaziz commented 8 years ago
This sounds more like a question or request for help than a bug report so please post
it to the ELMAH discussion group[1] instead. Once it has been established that what
you are experiencing is due to a bug in ELMAH then it would be fair to re-open this.

[1] http://groups.google.com/group/elmah

Reported by azizatif on 2015-06-18 08:33:32