@Richard, I'm guessing it's the security aspect of it... as in it's "open to the public" to view the "/elmah.axd".
I started development on a tighter integration between Umbraco and Elmah, but it's no-where near ready for "human consumption" (i.e., the level of support and hand-holding that end-users want/need these days). If anyone is interested in a "rough-n-ready" version of the package, I'll make it available - otherwise I'll release it once it's "ready"! ;-)
Thank you for your clear documentation about ELMAH in your blog.
I want to ask you one thing how ELMAH handling Application level events without global.asax...........If your package is ready please send me the link.
To my knowledge (and experience), ELMAH should work with your ASP.NET application out-of-the-box ... you shouldn't need to edit/extended the Global.asax. ELMAH will catch unhandled exceptions at application-level.
If you do need to extended/modify/replace the Global.asax that ships with Umbraco (as default), then there is another post detailing that.
My ELMAH/Umbraco package doesn't do anything fancy - nor change how ELMAH works/configured ... it just provides a more seamless UI in the Umbraco back-end (without the need for ASCX user-controls).
If you are having a specific problem with ELMAH, then you could try posting over at the ELMAH support group? (if you haven't already)
My main doubt is whether we have to copy the global.asax directly inyo yhe App_Code folder of umbraco (or) Compliled version of global.asax.dll we have to copy into the bin folder.
@Lee Could you add this to your blog post? I was thinking of doing my own post, but it would be for 99% a copy of your hard work. Also, can you check why blog.leekelleher.com is not working for me most of the time? In the past two weeks I've been able to get to that domain only once (yesterday or the day before I believe).
I've been playing with a little project to update the web.config today, but I am having some difficulty adding the keys in the format in which Elmah requires them. It would be cool to just have Elmah as a package that you can simply install in your site. It would configure everything, depending on the .net version you're running. Unfortunately, I don't have the time at the moment to complete the research and testing work required to create a nice package out of this. Other than updating the web.config it should be really easy.
I'll get around to updating my blog post about it ... I should move it to the wiki - not sure when I'd get around to it, so please be my guest if you want to copy-n-paste from it - and add accordingly! :-)
@Vijay, I am still not 100% sure what you are trying to achieve. If you want to replace the Global.asax, then you will need to remove the existing "App_global.asax.dll" from the "/bin" folder. Has anyone mentioned Ismail's blog post about it? (noticed you'd cross-posted this topic a lot)
@Lee yes, if I go through the wordpress link, I get redirected to blog.lee.. and it works, weird, must be some strange DNS config problem?
I just tried to comment but I'm afraid the XML got stripped out of the comment :( Can you edit it so that it stays there? Else I'll just comment again and link to this post here ;)
How to use ELMAH as a user control in umbraco?
How to use ELMAH as a user control in umbraco?
----vijay.
Don't know if this article will help you....
http://blog.leekelleher.com/2009/04/23/integrating-elmah-with-umbraco/
Thanks for your reply,
I already tried that but it is not suitable solution for my case.
-------vijay.
Just curious. What is not suitable about that ?
@Richard, I'm guessing it's the security aspect of it... as in it's "open to the public" to view the "/elmah.axd".
I started development on a tighter integration between Umbraco and Elmah, but it's no-where near ready for "human consumption" (i.e., the level of support and hand-holding that end-users want/need these days). If anyone is interested in a "rough-n-ready" version of the package, I'll make it available - otherwise I'll release it once it's "ready"! ;-)
Hello Lee,
Thank you for your clear documentation about ELMAH in your blog.
I want to ask you one thing how ELMAH handling Application level events without global.asax...........If your package is ready please send me the link.
---vijay.
Hi Vijay,
To my knowledge (and experience), ELMAH should work with your ASP.NET application out-of-the-box ... you shouldn't need to edit/extended the Global.asax. ELMAH will catch unhandled exceptions at application-level.
If you do need to extended/modify/replace the Global.asax that ships with Umbraco (as default), then there is another post detailing that.
http://our.umbraco.org/forum/developers/extending-umbraco/4752-Extending-Globalasax
My ELMAH/Umbraco package doesn't do anything fancy - nor change how ELMAH works/configured ... it just provides a more seamless UI in the Umbraco back-end (without the need for ASCX user-controls).
If you are having a specific problem with ELMAH, then you could try posting over at the ELMAH support group? (if you haven't already)
http://groups.google.com/group/elmah
Good luck and all the best!
Cheers, Lee.
Hello Lee,
My main doubt is whether we have to copy the global.asax directly inyo yhe App_Code folder of umbraco (or) Compliled version of global.asax.dll we have to copy into the bin folder.
At this point i stuck.Please give m clear idea.
--Thanks in advance
Have a nice day..........vijay.
I recently was trying to get Elmah into one of my projects, but it was just not recording anything at all.
Turns out, that when you're running on an asp.net 3.5 config (as opposed to 2.0), you need to add some more keys:
In system.webServer\modules, add:
And in system.webServer\handlers, add:
You do not need to change the global.asax at all.
@Lee Could you add this to your blog post? I was thinking of doing my own post, but it would be for 99% a copy of your hard work. Also, can you check why blog.leekelleher.com is not working for me most of the time? In the past two weeks I've been able to get to that domain only once (yesterday or the day before I believe).
I've been playing with a little project to update the web.config today, but I am having some difficulty adding the keys in the format in which Elmah requires them. It would be cool to just have Elmah as a package that you can simply install in your site. It would configure everything, depending on the .net version you're running.
Unfortunately, I don't have the time at the moment to complete the research and testing work required to create a nice package out of this. Other than updating the web.config it should be really easy.
@Sebastiaan, you're not the only one who seems to be having problems with my blog (Chris Houston email me about it too).
It's weird, since the blog is hosted on WordPress.com (which is meant to be quite robust!!), maybe try the alternative URL?
http://leekelleher.wordpress.com/2009/04/23/integrating-elmah-with-umbraco/
I'll get around to updating my blog post about it ... I should move it to the wiki - not sure when I'd get around to it, so please be my guest if you want to copy-n-paste from it - and add accordingly! :-)
@Vijay, I am still not 100% sure what you are trying to achieve. If you want to replace the Global.asax, then you will need to remove the existing "App_global.asax.dll" from the "/bin" folder. Has anyone mentioned Ismail's blog post about it? (noticed you'd cross-posted this topic a lot)
http://ismailmayat.wordpress.com/2009/05/19/integrating-log4net-into-umbraco-site/
Your new code for the Global.asax can go wherever ... App_Code, or compiled into its own DLL.
Cheers, Lee.
@Lee yes, if I go through the wordpress link, I get redirected to blog.lee.. and it works, weird, must be some strange DNS config problem?
I just tried to comment but I'm afraid the XML got stripped out of the comment :( Can you edit it so that it stays there? Else I'll just comment again and link to this post here ;)
@Sebastiaan, no worries ... I'll sort out a wiki page for ELMAH integration later today (unless you get there first?) ;-)
:-) Needs some lay-out corrections, but I have to run:
http://our.umbraco.org/wiki/how-tos/use-elmah-with-umbraco
Hi all,
My question is
Does App_global.asax.dll already exist in umbraco. I didn't find it in my local installation bin folder because of this i m confused.
--------vijay.
@Lee,
Awesome Lee just cuious are you using the Datasource object and a custom datagrid?
Cheers,
Richard
is working on a reply...