Board index » delphi » ASP problem - Exception raised when shutting down IIS/PWS

ASP problem - Exception raised when shutting down IIS/PWS

How do I prevent exception messages from getting onto the screen?

I'd like the exception to go into the NT event log - but I can't find how to
trap the exception when it is raised. The reason I'm interested is because of
a reccurring problem with a some of my COM objects that are called from ASP
pages.

The problem is not when the ASP page calls the COM objects [that works fine
for weeks at a time] but when you shut down the Web server. It refuses to
close and I believe it's because its waiting for me to acknowledge an
exception by pressing the OK button (which I can't do because I can't see the
message.)

Has anyone any suggestions

thanks in advance

woric

PS: Using the NT task manager I can switch to the error message [that has no
name and I can't see], press the space bar and then the web server shuts
down. This is the main rason I think its an exception, but I can't see it.
Trying to trace the shutdown of the COM object also hasn't helped.

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading

 

Re:ASP problem - Exception raised when shutting down IIS/PWS


Why not trying to send yourself the spacebar message to NT

Other Threads