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
1
vote
1 answer

How do I run the Elmah script to create the db

I installed Elmah and now I get an error when I run my program. I see that the errors relate to the schema. So I realize I need to run a script to create the tables. I have downloaded the script file. If I select run, a dialog box opens asking me to…
user2887440
  • 51
  • 1
  • 8
1
vote
1 answer

Elmah.ErrorMailModule.ReportError error throwing a FormatException, which recycles the w3wp process

Recently, I've noticed that a web application in IIS is restarting randomly, sometimes every 20 minutes. I've checked the Event Log, and found various errors of: Level: Error Source: .Net Runtime EventID: 1026 Below is the exception…
Karl Cassar
  • 6,043
  • 10
  • 47
  • 84
1
vote
1 answer

Elmah not sending emails for webapi exceptions

I've set up elmah to pick up webapi exceptions by including an httpfilter for webapi events as described in ELMAH and API controller in MVC4 not logging errors It works, I can see the errors going to the elmah db, problem is the errorMail module…
Raul Vejar
  • 837
  • 8
  • 14
1
vote
3 answers

Specifying user roles that are allowed access to error log

For some reason i am not able to specify roles that should be allowed access to the error log. No matter what role i enter (i have Admin, Super and Test roles), my app just redirects to the login screen, which is the expected behaviour should i not…
Ben
  • 5,525
  • 8
  • 42
  • 66
1
vote
1 answer

Adding SSL support for elmah controller in elmah.mvc

I wanted to require SSL for the Elmah controller in Elmah.MVC package. Has anybody already done this? As of now I can secure it by requiring authorization but I would want elmah log data returned only over SSL.
Sandeep Phadke
  • 862
  • 9
  • 23
1
vote
1 answer

Restrict access to ELMAH using custom RoleProvider

in my mvc-project i have set up ELMAH for the exception-handling. ELMAH comes with a frontend which can be accessed by "/elmah.axd". In the web.config this is configured like this:
r3try
  • 667
  • 8
  • 20
1
vote
1 answer

How is route being configured in library (ELMAH.MVC)?

I am not familiar with how to make a package and include a controller with the package and was looking at the ELMAH.MVC package and notice that it does this. I thought I would find a module to it in the web.config file or something that would call…
Josh
  • 1,058
  • 9
  • 27
1
vote
0 answers

some questions about elmah

I have just set up elmah in my MVC4 application and have some questions regarding it. Previously I rolled my own exception handling, so I am newbie to this. Is it possible to set up elmah to log certain exceptions to either event log or/and text…
amateur
  • 43,371
  • 65
  • 192
  • 320
0
votes
2 answers

Why isn't my Elmah configuration being applied?

I've inherited a legacy internal site written using ASP.NET MVC. It uses Elmah to mail uncaught exceptions. Unfortunately, those emails contain sensitive information, such as passwords. Following this guide, I implemented this ErrorLogModule class…
Scott Severance
  • 943
  • 10
  • 27
0
votes
0 answers

Visual Studio could not find part of the path for .signature.p7s

When I try to check in to TFS through Visual Studio 2019, I'm getting this message: D:\Source\Suburban\Web Projects\WebPortalSite\packages\elmah.1.2.signature.p7s: Could not find a part of the path…
ErocM
  • 4,505
  • 24
  • 94
  • 161
0
votes
1 answer

When navigating to "/elmah.axd" it throws a 'Root Element is missing' error

Posting this to resolve a question I couldn't find an answer to elsewhere. I'm running "elmah" for error logging in a legacy .NET framework project. It works fine in all of my testing / production environments. However, navigating to it locally…
Lovethenakedgun
  • 731
  • 6
  • 22
0
votes
1 answer

ELMAH is not logging to XML files with ASP.NET MVC in docker container

ELMAH works fine in my website running on VS & IIS, but after creating a docker image for the app, XML errorLog doesn't work - actually there is NO xml file created. My code raises exceptions but I see nothing when navigating to http://xyz/elmah. If…
hazjack
  • 1,645
  • 13
  • 27
0
votes
1 answer

Elmah.io , can't see logs when accessing http://localhost:port/elmah

I'm new to elmah.io, I'm trying to integrate it with an ASP.NET Mvc app. The problem is that when I access the http://localhost:port/elmah I can't see the logs even if the errors are logged in…
cGG
  • 13
  • 3
0
votes
1 answer

Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

error ASPRUNTIME : The pre-application start initialization method Initialize on type Elmah.Mvc.Bootstrap threw an exception with the following error message: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral,…
Raju
  • 1
  • 1
0
votes
1 answer

Include full url in Elmah Email

Currently I get an error email from ELMAH similar to the following screenshot, which is all good. But one thing that is missing is a full url something similar to what you get from a Request.Url.ToString() (ie including domain,path and query). I'd…
Mat J
  • 5,422
  • 6
  • 40
  • 56