We are currently facing a strange issue.
We are having an error logging functionality that logs errors occurring to a database.
A scenario occurs where there is an error occurring in the application, custom error page comes up.
When looked in the database for error description error is not logged at all.
However, when the Custom error mode is set to Off and a save is given to the web.config file the error no more occurs and the application works all fine.
In short, Error disappears on just opening and saving the web.config file.
What might be actually causing this strange issue?