Questions tagged [elmah.mvc]

ELMAH.MVC is a tool to integrate ELMAH into ASP.NET MVC applications.

ELMAH.MVC is for painless integration of into ASP.NET MVC application.

Links:

139 questions
35
votes
3 answers

ELMAH - MVC 3 - 403 - Forbidden: Access is denied

I have installed Elmah for MVC using NuGet, I'am able to login with success error in the db. The only problem is that I cannot access the /elmah URL to access the Error Log Page. Here part of my configuration, could you please point out if I have…
GibboK
  • 71,848
  • 143
  • 435
  • 658
34
votes
6 answers

Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.0, Elmah.MVC issue

Locally - my MVC 4, asp.net, c# app runs fine on IIS 8 / Windows 8. When deployed to Windows Server 2008, I get this error: Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of…
niico
  • 11,206
  • 23
  • 78
  • 161
26
votes
1 answer

MVC ELMAH and SQL Azure

back-story: We mainly use AWS for everything (hosting, database, notifications, etc.). Now, I'm looking at moving the database side to SQL Azure since we've been getting crazy bills on AWS RDS. So all I tried to do was create a DB in SQL Azure and…
AnimaSola
  • 7,146
  • 14
  • 43
  • 62
18
votes
1 answer

ELMAH on ASP.NET vNext?

Is it possible to configure ELMAH with ASP.NET vNext? If so, how? I am lost as to where even start, given there's not even a web.config anymore. If anyone has or can figure it out, please share with us. Thank you
georgiosd
  • 3,038
  • 3
  • 39
  • 51
18
votes
1 answer

Elmah vs Elmah.MVC Nuget Package - Which to use & why?

I have Code First MVC 4 application. I tried installing the NuGet package for logging Elmah - and everything seemed to work fine - Errors were reported fine at http://myapp/elmah.axd I then noticed there was an Elmah.MVC package - so i removed the…
niico
  • 11,206
  • 23
  • 78
  • 161
16
votes
1 answer

Elmah.MVC working under IIS Express but not IIS 7.5

I'm trying to get Elmah working under ASP.NET MVC and I thought I had. I used the very convenient Elmah MVC project which automatically setup my web.config file. Now if I run the project under IIS Express then Elmah works just perfectly. I can…
Chris Nevill
  • 5,922
  • 11
  • 44
  • 79
12
votes
2 answers

Where is elmah.mvc log file located

After installing elmah.mvc from nuget: where is the log file created by default? Errors are logged just fine when I go to /myapp/elmah however I don't see where the actual log file resides. thanks
ShaneKm
  • 20,823
  • 43
  • 167
  • 296
10
votes
5 answers

How do I log EntityValidation errors using ELMAH MVC?

I've been writing an application using MVC4 and EF5.x, and using ELMAH for logging exceptions for review. We recently released the application, and as expected the ELMAH log filled up with several dozen exceptions. Great (and not)! The problem is…
Elsimer
  • 1,878
  • 3
  • 18
  • 33
8
votes
2 answers

How does one use Elmah in ASP.NET 5/vNext/Core?

I am a bit confused about how to use Elmah in the ASP.NET 5 / MVC 6 projects. I got the package from nuget and it added "Elmah.Mvc": "2.1.2" to dependencies in project.json. I am not sure where to go from here - back in the day, nuget would add…
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
8
votes
1 answer

ELMAH: Elmah pages not styled making them difficult to read

Setup: I have ELMAH installed via NuGet on an ASP.NET MVC 4 site. On the dev machine the app is installed at the root. It all works and is styled as ELMAH pages usually are. It always does that, work on the dev machine I mean, doesn't it? But on…
awrigley
  • 13,481
  • 10
  • 83
  • 129
8
votes
2 answers

Elmah.MVC 2.0.1 - securing the elmah logs

Setup: For an ASP.NET MVC 4 app I am using Elmah.MVC 2.0.1 to log errors. I installed Elmah.MVC using NuGet. It works fine. Problem: The Elmah.MVC package installs no controller or area, so I can see no obvious way to apply security via…
awrigley
  • 13,481
  • 10
  • 83
  • 129
6
votes
2 answers

How to stop Elmah logging?

I am using Elmah.MVC 2 with MVC3, ASP.NET 4.5 on Azure Websites. I have set it up to log, via the web.config, to XML files on the webserver. This all works. However I want to stop it temporarily, as I believe it may be slowing the web server, since…
SamJolly
  • 6,347
  • 13
  • 59
  • 125
6
votes
6 answers

Modify Exception and throw it

I want to modify the Message property in Exception with additional info. For example the generated SQL from EF. But I don't want to lose anything from the original Exception. This will make me lose the stacktrace: catch (Exception ex) { throw…
Quoter
  • 4,236
  • 13
  • 47
  • 69
5
votes
3 answers

Elmah.Mvc 2.0 custom Authentication

I'm trying to implement custom authentication for Elmah.Mvc 2.0. I know there are two keys in my web.config (elmah.mvc.allowedRoles and elmah.mvc.allowedUsers) but it won't be enough for me. I have a custom Forms Authentication method which adds…
Nebojsa Veron
  • 1,545
  • 3
  • 19
  • 36
4
votes
1 answer

ELMAH fails to login to DB on production but not test server

First off, here's a few of the potential duplicates that didn't help: Can't access /elmah on production server with Elmah MVC? ELMAH doesn't insert error logs to SQL DB on production ELMAH works on local machine, but not on production Elmah, convert…
Sinjai
  • 1,085
  • 1
  • 15
  • 34
1
2 3
9 10