elmah

Could not load file or assembly 'System.Data.SQLite'

本小妞迷上赌 提交于 2019-11-26 02:17:42
问题 I\'ve installed ELMAH 1.1 .Net 3.5 x64 in my ASP.NET project and now I\'m getting this error (whenever I try to see any page): Could not load file or assembly \'System.Data.SQLite, Version=1.0.61.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139\' or one of its dependencies. An attempt was made to load a program with an incorrect format. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the

How to get ELMAH to work with ASP.NET MVC [HandleError] attribute?

你。 提交于 2019-11-25 22:01:55
问题 I am trying to use ELMAH to log errors in my ASP.NET MVC application, however when I use the [HandleError] attribute on my controllers ELMAH doesn\'t log any errors when they occur. As I am guessing its because ELMAH only logs unhandled errors and the [HandleError] attribute is handling the error so thus no need to log it. How do I modify or how would I go about modifying the attribute so ELMAH can know that there was an error and log it.. Edit: Let me make sure everyone understands, I know I