Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Aug 08, 2011 02:06 PM by XIII
Aug 08, 2011 11:21 AM|LINK
I have written IHTTPModule. In the dispose method of the module I am logging a debug statement.
When web.config file is changed the log statement in Dispose method is getting logged continuously. Its not stopping until I restart IIS webserver.
Not able to understand why this is happening.
Any help in this regard is much appreciated.
Aug 08, 2011 02:06 PM|LINK
and welcome to the ASP.NET forums.
Whenever you change a web.config or write something in the /bin subfolder you'll recycle the process. As you didn't put the code you're using in your module I can only assume that in the Dispose you're either writing something to the web.config or to the
/bin folder. If so, write to a custom folder like /errorlogs or something so as to not recycle the process.