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 '11 at 11:56
  • it's gonna use some events like "Session_Start" or "Session_End" – Jalali Shakib Jul 20 '11 at 12:02
  • ok, but what are doing into these events ? – Steve B Jul 20 '11 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? – Amal Hashim Sep 4 '16 at 15:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.