Closed GoogleCodeExporter closed 9 years ago
Original comment by azizatif
on 10 May 2011 at 6:57
This is not valid syntax:
"Data Source=|DataDirectory|/errors.sdf"
- should be a backslash, not forward slash.
Original comment by ejls...@hotmail.com
on 10 May 2011 at 8:13
Thanks, you're correct: changing it to a backslash allows the |DataDirectory|
macro to work correctly :)
The ~ operator still causes an exception though. I was able to get that syntax
working in my project by changing
string connectionString = ConnectionStringHelper.GetConnectionString(config);
in the SqlServerCompactErrorLog(IDictionary) constructor to
string connectionString = ConnectionStringHelper.GetConnectionString(config, true);
(so its called the same way as in SQLiteErrorLog) and rebuilding Elmah.
Original comment by let...@gmail.com
on 10 May 2011 at 8:42
Yes, and there is another releated fix in the other constructor. I will commit
an update soon...
Original comment by ejls...@hotmail.com
on 10 May 2011 at 9:01
Fixed in r853
Original comment by ejls...@hotmail.com
on 10 May 2011 at 2:06
Original comment by azizatif
on 10 May 2011 at 3:12
@lethek Have you tested the fix?
Original comment by azizatif
on 11 May 2011 at 12:12
I've now tested it, it works perfectly :) Thanks!
Original comment by let...@gmail.com
on 11 May 2011 at 1:32
Original comment by azizatif
on 31 May 2011 at 6:58
Original issue reported on code.google.com by
let...@gmail.com
on 10 May 2011 at 3:30