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

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:
WebCachePath=http://testmachine/ExtReports/Cache/
WebModuleURI=http://testmachine/ExtReporst/ssid/webTier.dll
Address=testmachine

(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';
to:
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?

Comments

  • 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
    www.digital-metaphors.com
This discussion has been closed.