no

How to Setup Elmah for Mvc3 .net

Tired of setting up your configuration to load elmah? You think you already configured everything even compiling the source code to build on...

Tired of setting up your configuration to load elmah? You think you already configured everything even compiling the source code to build on .net 4.0 but still failed? Experience a routing error, or this persistent line: elmah Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. An attempt was made to load a program with an incorrect format. (because SQLite was build on x86). You could change a setting in IIS App Pool to load x86 dll but that's not really a solution. To solve this issue, simply use NuGet Package Manager and install the elmah plugin :-). Steps: 1.) Open Tools->Library Package Manager->Manage NuGet Packages. 2.) Search for elmah, there will be several match, just choose the first one with the most number of downloads.
3.) Alternatively you can install elmah by issuing an install command to NuGet Console: Install-Package Elmah Don't forget to execute the appropriate database script from here: \ELMAH-1.2-src\src\Elmah\xxx.sql

Related

c# 4145851309409762463

Post a Comment Default Comments

item