Log exceptions using HttpModules in Web Service RRS feed

  • Question

  • User-530506546 posted


    Please let me know how i can log error using httpmodules in Web Service.!!!.


    Thursday, October 27, 2011 5:24 AM

All replies

  • Thursday, October 27, 2011 6:39 AM
  • User-60290905 posted

    what do u want ? u can put ur logic in an httpmodule to catch the application error and then can call a web service to log the error,

    no problem with it, what is the actuall probelm u r facing ?

    Happy Codding

    Thursday, October 27, 2011 9:11 AM
  • User-530506546 posted

    Hey Anil,

    Thanks a lot for your reply -:). Actually link you have provided will work to create an HttpModule that will log exceptions in the Web Application or Web Sites at Application Level.

    But unfortunately it will not log exceptions that are raised by the Web Service. Can you please let me know how to log errors for Web Service.



    Thursday, October 27, 2011 2:25 PM