Home Server
New Blog Posts: Merging Reports - Part 1 and Part 2

IniSettings

edited May 2003 in Server
I am modyfiying the ISAPI web-teir demo and trying to get the iniSettings to
function. The online help says the settings should be saved on dll unload,
but I can't get it to work. I basically just set the property to true. Can
you give me any pointers?

Side-question: is restarting IIS5 the only way to get an ISAPI dll to
unload?

-Max

Comments

  • edited May 2003
    I answerd my own question: the file WAS being saved, just in the directory I
    created my project in instead of the directory containing the DLL. I had
    the INI settings set to use ($Application)\Myfile.ini
  • edited May 2003

    1. Correct, the ini file will be saved in your Delphi project directory
    and then you can copy to the deployment directory that contains the
    ISAPI dll. In the RBServer examples, this is the rbWebPub directory that
    is configured in IIS to be a virtual web application directory.

    2. Configure the IIS virtual directory as described in the RBServer
    tutorials. Using IIS you can specify that the applicatin execute in its
    own process space. Then if you need to unload the dll you can use IIS to
    access the properties for the virtual directory and press the unload
    button to unload the ISAPI dll.




    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited May 2003

  • edited May 2003

    From IIS Manager, select the Virtual directory for the web tier application.
    In our examples, this is the rbWebPub virtual directory. Press the right
    mouse button and select Properties...

    Locate the Application Settings that are displayed at the bottom of the
    first tab.

    Set Application Protection to High (Isolated).

    You may need to kill IIS or reboot your machine at this point, so that the
    ISAPI .dll will unload.

    Now when you run the web tier application from your browser the ISPAPI .dll
    will be loaded in its own process space. You should then be able to access
    the Vitual directory properties and press the UnLoad button to unload the
    dll..


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.