I developed a httpmodule that inherits from IHttpModule to use "Session_Start" event, add the output DLL to GAC and adds the "add" tag into web.config in "modules" section.

All things seem to be ok but when I go to my website. I got this message "404 NOT FOUND" but I can go to "View All Site Content" on my site.

Why this happening?

  • what does your module do ?
    – Steve B
    Jul 20, 2011 at 11:56
  • it's gonna use some events like "Session_Start" or "Session_End" Jul 20, 2011 at 12:02
  • ok, but what are doing into these events ?
    – Steve B
    Jul 20, 2011 at 12:09
  • It seems inside that module code you are accessing some objects that's doesn't exists. Have you tried debugging your module code? Sep 4, 2016 at 15:59


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.