Home Server

WebTier ini file

edited March 2006 in Server
Working from the custom parameters demo, I can't seem to be able to use an
INI file.

IniSettings.Enabled - true
FileName - ($Application)\rbWebTier.ini

This will create the INI file and will run seem to run fine on localhost.
When moving to test machine, I change the values within the INI file to:

(I have also tried this with the IP address)

It will still revert to localhost and seems to be ignoring the INI file all
together. I can only get the webtier to run on the test machine by changing
the code:

if IsLibrary then
rsWebTier1.WebModuleURI := 'http://localhost/ExtReports/webTier.dll';
if IsLibrary then
rsWebTier1.WebModuleURI := 'http://testmachine/ExtReports/webTier.dll';

I can also delete the INI file on the localhost and it will continue to work
fine so obviously I have missed something. What else needs to be done for
the ini file settings to be read into the WebTier?


  • edited March 2006

    If you want to load the settings from rbWebTier.ini, then remove that line
    of code altogether :)

    Best regards,

    Nard Moseley
    Digital Metaphors
This discussion has been closed.