Ask a Question
Advertise on boostr.in
boostr.in questions - Question:How to debug an IIS 7 module?
We had an IIS 7 module that was failing in a rather odd way (to us, at least) - the 32 bit version of the module apparently had some strange behavior where it would look for the 64 bit version of the DLL and use that if it was on a 64 bit machine, rather than the 32 bit version, since we installed the 32 bit version on purpose.
Before we figured this out (read: finally guessed correctly), the behavior the module was exhibiting was "simply not working" - no error message, the module was not writing log files like it normally does (because it wasn't working at all), nothing in the Event Log, nothing in the IIS logs except for an acknowledgement that we had made a POST request to the page exhibiting the non-working behavior.
My question is: to prevent using as huge a chunk of time as we did on this, is there any log file or files where we could have seen that 'such and such a module has failed' or 'XYZ module threw a BadImageFormatException to have given us even a slight clue as to what was going on?
Thanks in advance
Sep 13, 2013
Sep 12, 2013
to add a comment.
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please