tbone wrote:
>
> 1. In the log file, it appears that the ASP application is being
> shutdown and restarted almost daily. I see startup events logged as
> well as shutdown events. The hosting company swears that neither the
> machine (shared server) nor IIS nor the application is being
> restarted. Is there any other way that the Application_OnStart and
> _OnEnd methods might be invoked that would explain this?
>
If the global.asa file is modified, the application will restart.
> 2. I found in the log file that apparently one invocation of the app
> was being shutdown while a new one was being started. The app startup
> event for the new run was logged before the Shutdown Complete event
> was logged (in the same file) for the old run. The session startup
> events in the app log are interspersed with the session shutdown
> events. Each event includes the current number of sessions and the
> high water mark, so I can see the session count going down with the
> shutdown events, while a different session count is going up with the
> startup events. How is this possible?
>
One thing: you can't always depend on session_onend firing when you expect
it to:
http://www.aspfaq.com/show.asp?id=2078
You may want to direct these questions to the .inetserver.iis group.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"