Some times this may be the case when you use http handlers.

can you please explain the exact senario of your webapplication structure ?
also i would like to know the hosting enviornment.