Elmah not working with asp.net site

I just had a similar problem with Elmah not working in an IIS7 deployment. I found that I needed to register the Elmah Modules and Handlers in system.web AND system.webServer: <system.web> … <httpHandlers> … <add verb=”POST,GET,HEAD” path=”elmah.axd” type=”Elmah.ErrorLogPageFactory, Elmah” /> … </httpHandlers> <httpModules> … <add name=”ErrorLog” type=”Elmah.ErrorLogModule, Elmah”/> <add name=”ErrorMail” type=”Elmah.ErrorMailModule, Elmah” /> <add name=”ErrorFilter” … Read more

When I `throw` something, where is it stored in memory?

Yes, the answer is compiler-dependent. A quick experiment with my compiler (g++ 4.4.3) reveals that its runtime library first tries to malloc memory for the exception and, failing that, attempts to allocate space within a process-wide “emergency buffer” that lives on the data segment. If that doesn’t work out, it calls std::terminate(). It would appear … Read more

Android exception handling best practice?

Here, check for the link for reference. In here you create a class say ExceptionHandler that implements java.lang.Thread.UncaughtExceptionHandler.. Inside this class you will do your life saving stuff like creating stacktrace and gettin ready to upload error report etc…. Now comes the important part i.e. How to catch that exception. Though it is very simple. … Read more

Exception handling in Haskell

When do I use which function? Here’s the recommendation from the Control.Exception documentation: If you want to do some cleanup in the event that an exception is raised, use finally, bracket or onException. To recover after an exception and do something else, the best choice is to use one of the try family. … unless … Read more

Report for exceptions from Google Analytics analytics.js exception tracking

Figured it out. I’m not sure why they don’t make this a built in report but maybe someday. I made a custom widget in a dashboard with Exception Description for dimension and ‘Crashes’ for the metric: Which gives me a report like this: You can also go to Customization tab and create a custom report … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)