maoyuan121 / elmah

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

Problems with SQL Server Compact 4.0 on ASP.NET #223

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using elmah inside a ASP.NET project

What is the expected output? What do you see instead?
Because elmah has a dependency on System.Data.SqlServerCe ver 3.5 you can't use 
it on a ASP.NET project. If you change the dependency to the 4.0 version, it 
does work.

What version of the product are you using? On what operating system?
ELMAH 1.2 BETA, compiled from source.

Please provide any additional information below.
Somewhat related, the SqlCompactErrorLog class does not consider the case where 
the sdf file already exists, but doesn't has the elmah table (because its the 
first time you are going to record an error). Once you force the code to create 
the table, it does work.

Original issue reported on code.google.com by je...@garzazambrano.net on 27 Apr 2011 at 4:57

GoogleCodeExporter commented 9 years ago

Original comment by azizatif on 27 Apr 2011 at 5:18

GoogleCodeExporter commented 9 years ago
Invalid reference fixed in r832

Original comment by ejls...@hotmail.com on 27 Apr 2011 at 7:39

GoogleCodeExporter commented 9 years ago
Thank you!, although the fix is on r823, right?
Should I open a separate issue to report that SqlCompactErrorLog class does not 
consider the case where the sdf file already exists?

Best regards.

Original comment by je...@garzazambrano.net on 27 Apr 2011 at 9:12

GoogleCodeExporter commented 9 years ago
Yes, a typo. If will fix the second issue soon, no need for another issue 
report.

Original comment by ejls...@hotmail.com on 28 Apr 2011 at 11:29

GoogleCodeExporter commented 9 years ago

Original comment by azizatif on 28 Apr 2011 at 2:05

GoogleCodeExporter commented 9 years ago
> Should I open a separate issue to report that 
> SqlCompactErrorLog class does not consider the 
> case where the sdf file already exists?

It would be best if you could open a separate issue for this so that it can be 
tracked separately. It also seems unrelated.

Original comment by azizatif on 28 Apr 2011 at 2:09

GoogleCodeExporter commented 9 years ago
OK, agree with Aziz, open a new issue for that, please

Original comment by ejls...@hotmail.com on 28 Apr 2011 at 3:00