Click here to Skip to main content
12,396,047 members (67,487 online)
   

Delphi

 
Questiondeclaring math function Pin
7007saeed30-Mar-12 4:34
member7007saeed30-Mar-12 4:34 
AnswerRe: declaring math function Pin
smags1330-Mar-12 12:47
membersmags1330-Mar-12 12:47 
AnswerRe: declaring math function Pin
Stuart Cox from Victoria31-Mar-12 10:04
memberStuart Cox from Victoria31-Mar-12 10:04 
QuestionDelphi 2007 not compiling runtimes into exe Pin
JerryMallett6-Mar-12 22:34
memberJerryMallett6-Mar-12 22:34 
AnswerRe: Delphi 2007 not compiling runtimes into exe Pin
nortee8-Mar-12 0:48
membernortee8-Mar-12 0:48 
GeneralRe: Delphi 2007 not compiling runtimes into exe Pin
JerryMallett8-Mar-12 0:56
memberJerryMallett8-Mar-12 0:56 
GeneralRe: Delphi 2007 not compiling runtimes into exe Pin
smags138-Mar-12 14:17
membersmags138-Mar-12 14:17 
GeneralRe: Delphi 2007 not compiling runtimes into exe Pin
JerryMallett8-Mar-12 23:10
memberJerryMallett8-Mar-12 23:10 
GeneralRe: Delphi 2007 not compiling runtimes into exe Pin
smags139-Mar-12 10:30
membersmags139-Mar-12 10:30 
GeneralRe: Delphi 2007 not compiling runtimes into exe Pin
nortee9-Mar-12 11:34
membernortee9-Mar-12 11:34 
NewsDelphi online birthday party ?! Pin
smags137-Feb-12 7:54
membersmags137-Feb-12 7:54 
GeneralRe: Delphi online birthday party ?! Pin
nortee7-Feb-12 8:28
membernortee7-Feb-12 8:28 
GeneralRe: Delphi online birthday party ?! Pin
smags1329-Feb-12 8:39
membersmags1329-Feb-12 8:39 
QuestionCan TWebModule instance shutdown itself? Pin
Corinna John31-Jan-12 4:17
memberCorinna John31-Jan-12 4:17 
I have an ISAPI application with a TWebModule running on IIS6. There's try/except and fine exception logging around every method. Every single request and it's response status are also being logged. About five times a week this happens:

1) TWebModule.OnException is called with "EInOutError: File not found". Mostly the error is logged by just one thread, sometimes by up to four threads at once. (The cause must be outside my code, because there are no lines outside try/except blocks.)
2) For a few minutes IIS answers thousands of request with status 500, though they are not logged by the ISAPI DLL. That means, the requests don't cause more exceptions in the TWebModule instances, they seem to just bounce off my IIS.
3) Finally there's a message in the event log that one worker process did not recycle in time.
4) For a day or two, everything runs fine again.

I guess the TWebModule instance is in some kind of blocked state, but IIS still tries to feed it with requests. So, I want to stop the thread in TWebModule.OnException. Is there a way to shutdown a single TWebModule, that means one IIS thread or worker process, without recycling the whole Application Pool?

Thanks a lot,
Corinna
GeneralRe: Can TWebModule instance shutdown itself? Pin
smags1331-Jan-12 8:10
membersmags1331-Jan-12 8:10 
GeneralRe: Can TWebModule instance shutdown itself? Pin
Corinna John31-Jan-12 10:38
memberCorinna John31-Jan-12 10:38 
QuestionRe: Can TWebModule instance shutdown itself? Pin
nortee31-Jan-12 20:01
membernortee31-Jan-12 20:01 
AnswerRe: Can TWebModule instance shutdown itself? Pin
nortee1-Feb-12 7:40
membernortee1-Feb-12 7:40 
QuestionRe: Can TWebModule instance shutdown itself? Pin
nortee7-Feb-12 8:31
membernortee7-Feb-12 8:31 
AnswerRe: Can TWebModule instance shutdown itself? Pin
Corinna John8-Feb-12 3:40
memberCorinna John8-Feb-12 3:40 
GeneralRe: Can TWebModule instance shutdown itself? Pin
nortee8-Feb-12 3:55
membernortee8-Feb-12 3:55 
QuestionLet's make an impact (even if a small wave) Pin
nortee27-Jan-12 7:18
membernortee27-Jan-12 7:18 
AnswerRe: Let's make an impact (even if a small wave) Pin
smags1331-Jan-12 7:54
membersmags1331-Jan-12 7:54 
GeneralRe: Let's make an impact (even if a small wave) Pin
nortee1-Feb-12 9:07
membernortee1-Feb-12 9:07 
AnswerRe: Let's make an impact (even if a small wave) Pin
Jose A Pascoa31-Jan-12 8:52
memberJose A Pascoa31-Jan-12 8:52 
GeneralRe: Let's make an impact (even if a small wave) Pin
nortee1-Feb-12 9:08
membernortee1-Feb-12 9:08 
GeneralRe: Let's make an impact (even if a small wave) Pin
Jose A Pascoa7-Feb-12 21:23
memberJose A Pascoa7-Feb-12 21:23 
GeneralRe: Let's make an impact (even if a small wave) Pin
nortee10-Feb-12 8:09
membernortee10-Feb-12 8:09 
GeneralRe: Let's make an impact (even if a small wave) Pin
Jose A Pascoa14-Feb-12 9:53
memberJose A Pascoa14-Feb-12 9:53 
GeneralRe: Let's make an impact (even if a small wave) Pin
nortee10-Feb-12 8:21
membernortee10-Feb-12 8:21 
AnswerRe: Let's make an impact (even if a small wave) Pin
oginiza27-Feb-12 21:27
memberoginiza27-Feb-12 21:27 
QuestionRemote Desktop with Delphi 6 Pin
kasibhotlaKrishna2-Dec-11 5:39
memberkasibhotlaKrishna2-Dec-11 5:39 
AnswerRe: Remote Desktop with Delphi 6 Pin
smags132-Dec-11 18:25
membersmags132-Dec-11 18:25 
QuestionAre there still Delphi guys around here? Pin
nortee23-Nov-11 7:52
membernortee23-Nov-11 7:52 
AnswerRe: Are there still Delphi guys around here? Pin
smags1323-Nov-11 16:21
membersmags1323-Nov-11 16:21 
GeneralRe: Are there still Delphi guys around here? Pin
nortee23-Nov-11 21:58
membernortee23-Nov-11 21:58 
AnswerRe: Are there still Delphi guys around here? Pin
Amir Mahfoozi26-Nov-11 4:27
memberAmir Mahfoozi26-Nov-11 4:27 
GeneralRe: Are there still Delphi guys around here? Pin
nortee26-Nov-11 4:31
membernortee26-Nov-11 4:31 
GeneralRe: Are there still Delphi guys around here? Pin
nortee26-Nov-11 4:32
membernortee26-Nov-11 4:32 
AnswerRe: Are there still Delphi guys around here? Pin
mobius11100128-Nov-11 3:39
membermobius11100128-Nov-11 3:39 
GeneralRe: Are there still Delphi guys around here? Pin
nortee28-Nov-11 10:48
membernortee28-Nov-11 10:48 
AnswerRe: Are there still Delphi guys around here? Pin
dhaxton29-Nov-11 3:31
memberdhaxton29-Nov-11 3:31 
JokeRe: Are there still Delphi guys around here? Pin
Paulo_JCG29-Nov-11 3:36
memberPaulo_JCG29-Nov-11 3:36 
AnswerRe: Are there still Delphi guys around here? Pin
Jan Holst Jensen229-Nov-11 3:42
memberJan Holst Jensen229-Nov-11 3:42 
AnswerRe: Are there still Delphi guys around here? Pin
chambers120@suddenlink29-Nov-11 3:45
memberchambers120@suddenlink29-Nov-11 3:45 
AnswerRe: Are there still Delphi guys around here? Pin
Jonathan Korty29-Nov-11 3:53
memberJonathan Korty29-Nov-11 3:53 
AnswerRe: Are there still Delphi guys around here? Pin
nortee29-Nov-11 3:55
membernortee29-Nov-11 3:55 
AnswerRe: Are there still Delphi guys around here? Pin
Robert Chafer29-Nov-11 4:11
memberRobert Chafer29-Nov-11 4:11 
AnswerRe: Are there still Delphi guys around here? Pin
Clay Shannon29-Nov-11 4:16
memberClay Shannon29-Nov-11 4:16 
AnswerRe: Are there still Delphi guys around here? Pin
GezielMachado29-Nov-11 5:00
memberGezielMachado29-Nov-11 5:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 22 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid