elmah

Is there any ASP.NET application to monitor online user and page view log report?

安稳与你 提交于 2019-12-04 11:05:18
I've recently seen ElmahR which is very useful to monitor the application's exceptions. Is there any application like ElmahR to monitor online users and trace the user navigation. I've seen some usefull reports in Site Log module in DNN , but I want to use a stand-alone application to monitor online users and get page view reports for any asp.net application. something like real time analytics? http://analytics.blogspot.com/2011/09/whats-happening-on-your-site-right-now.html I think you know google real time analytics but are you searching for another solution? I have used Elmah in my 4

The view 'Error' or its master was not found

扶醉桌前 提交于 2019-12-04 09:53:07
问题 I've spent a lot of time trying to figure out a workaround for this to no avail, so I thought I'd see if anyone here has an idea. I'm using Elmah in my ASP.NET MVC3 application. I'm using the exact same code from the accepted answer in the previous link. I also have this code in my Global.asax for displaying error pages with the correct HTTP response: /// <summary> /// The customErrors functionality provided by ASP.NET results in HTTP 302 redirects occurring which doesn't accurately reflect

ELMAH is not logging

北战南征 提交于 2019-12-04 09:31:50
I've been using ELMAH on my development machine and it works fine. I also deployed it on Win2008 IIS7 and run the LOCALHOST website with force exception and it logs.. However, when i try browsing the website on other machine (using other machine from the network to browse the website) ELMAH is not logging.. I've check the App_Data for xml and none created. I already give Network service persmission on the folders. So, the problem is when browsing the website in localhost ELMAH logs, when browsing it on other machine it didn't logs. Below is my web.config file.. <configuration> <configSections>

Is it possible to use ELMAH in a SharePoint environment?

南楼画角 提交于 2019-12-04 09:25:30
问题 Has anyone integrated ELMAH into their SharePoint environment? I suppose it's possible as it's all ASP.net, but I just wondered if anyone had done it and if there's a walk through on how to achieve it? 回答1: We use ELMAH in our MOSS 2007 environment. Since ELMAH uses HttpHandlers and is set up via the web.config, activating it was a cinch. Just add the ELMAH stuff to the web.config for the application that you're running inside SharePoint. If you want ELMAH to report errors at a level higher

ELMAH and API controller in MVC4 not logging errors

∥☆過路亽.° 提交于 2019-12-04 09:14:36
问题 Using an API controller in MVC4, when the controller action throws an exception, ELMAH does not log the error. I think the problem is that MVC4 sets the HTTP status code to 500, and it returns the exception details in a JSON object, but it does not throw an unhandled exception so ELMAH never sees it. How can I get ELMAH to capture all responses where the status code is not 200? 回答1: The anwser described before doesn't work. I've tried on my test server and received an error ("The given filter

Where does ELMAH save its data?

北战南征 提交于 2019-12-04 07:51:37
问题 I just installed ELMAH.MVC (more info here) and was wondering where its data is saved. I read that you can choose to set up database for storage but seems that the default install uses "in memory"? How does it work? If I recycle the app pool or IIS website do I loose all the data? Thanks! 回答1: Yes, by default it uses memory storage. When your application pool is restarted, you loose elmah data. If I remember well, old versions of elmah used App_Data folder for storing xml files...If you want

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

佐手、 提交于 2019-12-04 03:17:35
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 entries to the web.config which is now gone. And I can't seem to find any examples on their github or elsewhere. Am I missing something simple? Instead of using ELMAH, it's not hard to implement error logging manually. This process will catch any exception that occurs in the project and log it to a database table. To do this, add the following to the

Elmah, convert to .Net4 vs2010, run on server 2008, does not work

拟墨画扇 提交于 2019-12-04 01:42:56
问题 So I've been using elmeh forever. I've got an app I've recently converted to MVC3 .net4, and vs2010, and it's developed on a server 2008 box (as opposed to my other apps developed on an XP box). I set up elmah normally and it does not work... I've got a reference to ELMAH.dll already, it's in my CommonDLLs folder. I add the sectiongroups <sectionGroup name="elmah"> <section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah" /> <section name="errorLog"

How can I restrict remote access to Elmah?

北城余情 提交于 2019-12-04 00:40:33
With Elmah installed on our dev web server .. can we restrict who remotely accesses it? Even f we hardcode the username/passwords (hashed?) or is it only via IP? There are two settings, one is in <elmah> : <elmah> <security allowRemoteAccess="1"/> </elmah> The other is, if you allow remote access, you can use the <location> to control who accesses it: <location path="elmah.axd"> <system.web> <authorization> <allow roles="Administrator"/> <deny users="*"/> </authorization> </system.web> </location> You can put this in the main web.config just after you </runtime> tag I know it's a bit late, but

MVC app deployment; System.Data.SqlClient.SqlException: Could not find stored procedure 'ELMAH_GetErrorsXml'

落爺英雄遲暮 提交于 2019-12-04 00:39:07
I have deployed my MVC app but the error handling does not work. I use a SQLite database and when I try to navigate to the error messages in Elmah i get this exception; System.Data.SqlClient.SqlException: Could not find stored procedure 'ELMAH_GetErrorsXml'. Of course I need to deploy the SQLite database, defined in my web.config as; add name="ELMAH.SQLite" connectionString="Data Source=|DataDirectory|errors.s3db" /> I am thinking that I did not deploy a SQLite database when I deployed my application. Yet I cannot locate the errors.s3db on my local file system, so I am not sure how I set one