Elmah on MVC website with WordPress/php sub directory

Posted by creativeincode on Stack Overflow See other posts from Stack Overflow or by creativeincode
Published on 2010-05-08T15:53:48Z Indexed on 2010/05/08 15:58 UTC
Read the original article Hit count: 413

Filed under:
|
|
|
|

I have created a website using ASP.NET MVC and use ELMAH for error handling, this works perfectly. After setting up a virtual directory on my website under /blog and adding the necessary WordPress php files and mysql db, I get the below error come up.

Could not load file or assembly 'Elmah' or one of its dependencies. The system cannot find the file specified.

I think this has something to do with the fact that ELMAH is applying itself to all sub-directories.

Is there a way that I can tell ELMAH to ignore everything under /blog? Or is there a way to get around this?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about elmah

Related posts about ASP.NET