ELMAH - Exception Logging without having HttpContext

前端 未结 4 1342
野的像风
野的像风 2020-12-13 03:40

I tried this solution with Elmah.XmlFileErrorLog but I\'m getting following exception

System.ArgumentNullException was unhandled by user code
  Message=\"Val         


        
4条回答
  •  醉梦人生
    2020-12-13 04:07

    The only stable solution I could find is to remove the web.config attribute and use the service behavior attribute they use in Exception Logging for WCF Services using ELMAH

提交回复
热议问题