Announcement

Collapse
No announcement yet.

DCOM Server lässt sich nicht beenden

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • DCOM Server lässt sich nicht beenden

    Ich möchte einen DCOM-Server via TWebConnection/IIS ansteuern. Dieser wird vom IIS geladen. (Entwicklungsumgebung: Delphi5/NTWorkstation/IIS). Um den Server neu zu kompilieren muß ich diesen vorher beenden. Ohne einen Shutdown des ganzen Systems durchzuführen, läßt sich dieser jedoch nicht mehr beenden. Auch ein stoppen des IIS hilft nicht. Wer kann mir einen Tip geben?

  • #2
    Hallo,

    das Problem betrifft alle DLLs (also auch die ISAPI-Module), die vom IIS einmal eingebunden wurden. Aus Performancegründen hält der IIS diese Module im Arbeitsspeicher, um das Nachladen bei einem späteren Web-Zugriff zu umgehen. Um diese Module zu entladen, muss u.U. der Dienst angehalten werden. Dies ist während der Programmentwicklung lästig - daher kann ich nur das Freeware-Tool <b>IntraBob</b> empfehlen. Hier ein Auszug aus der ReadMe:

    <i>IntraBob v5.0 - Dr.Bob's ISAPI Debugger

    IntraBob v5.0 can now be used to test CGI & WinCGI applications, and test
    and debug ISAPI DLLs. WebModules (Delphi 3-4 C/S, Delphi 5 Pro/Enterprise
    and C++Builder 3/4 C/S) are now supported, as well as D5 InternetExpress.
    The latest version of IntraBob can always be found at www.drbob42.com (or
    more specifically, at http://www.drbob42.com/tools/intrabob.htm)

    The sample ISAPI DLL library DEBUG can be used to demonstrate how to Test
    and Debug ISAPI DLLs on a local machine (i.e. without a Web Server).

    Steps: <br>
    1. Start Delphi<br>
    2. Load DEBUG.DPR (this file)<br>
    3. Specify "INTRABOB.EXE" as Hosting Application (Run | Parameters)<br>
    4. Run the DLL, which starts IntraBob, showing home.htm<br>
    5. Fill in any information in the HTML form (if required)<br>
    6. Click on the "submit" button to load the DEBUG ISAPI.DLL<br>
    7. You can now have the debugger stop at any breakpoint you specified<br>
    8. Don't forget to close IntraBob to return to the Delphi IDE<br>
    </i>

    P.S. Ich habe das Teil bisher nur für IDAPI-DLLs ausprobiert

    Comment

    Working...
    X