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

Access multiple rbServers from a web browser

edited September 2003 in Server
I have multiple rbServers connecting to different databases that work
well with the client apps, now I need to have the web browser connect to
the different rbServers.

I appear to have two problems.
1. I've created three virtual directories ( rbWebPub, Concord, Kingwood
) that have identical properties, but different rbWebTier.ini files to
connect to the correct rbServer port. The IP address stays the same, I
just change the directory name and port. When using
http://172.16.2.251/concord/report.dll the browser redirects to the
rbWebPub/report.dll. The IIS has been stopped and started and the
rbWebPub has been unloaded, so there must be a different technique need
to access each server from the web. Does the Report.dll need to be a
different name for each server?

Sample ini file:
[WebTier]
CacheDirectory=C:\Concord\Cache\
WebCachePath=http://172.16.2.251/Concord/Cache/
WebModuleURI=http://172.16.2.251/Concord/Report.dll
[GarbageCollection]
MinSleep=60
SeparateThread=1
[LogSettings]
Verbose=1
EnableLogging=1
Format=XMLFile
Location=($Application)\LogFiles
[ServerConnection]
Address=172.16.2.251
Port=1335
TimeOut=60
[SessionSettings]
SessionTimeout=300
MaxReportCount=0
[ViewerSettings]
ToolbarOptions=31
IncrementalMode=1
IncludeOutline=1
ZoomPercentage=50


2. I'm finding that the TrsWebTier does not load data from the ini file
if the attribute has data and it is impossible to clear the
CacheDirectory attribute, so is there a way to reload the ini file
params? And is the ($Application) the Report.dll directory? I'm not
getting a log file in the LogFiles directory.


Thanks,
Dave

Comments

  • edited September 2003
    I've changed the way this is working by having a ConcordRpt.dll and
    KingwoodRpt.dll in each folder and now have access to the server, after
    I sent the email it clicked that I can't have multiple Report.dll programs.

    But reports that work with the client app do not display on the web
    page. Often get a can't display page error. The pages are there, even
    the toolbar page cannot be displayed. I get the prompts then no report
    or access. The rbServer does not get any errors.

    Does the rbWebPub have to be the directory for for the web reports to work?


    Thanks,
    Dave


  • edited September 2003

    The directory can be named whatever you want - it does not have to be
    called rbWebPub. Check the cache directory and see whether the html
    report pages are being generated tot the cache. That is the first step.
    The second step is that the Webtier.WebCachePath needs to map to the
    same directory. Try typing in one of the URL's for the html report pages
    in the cache and see whether the web server can return them.






    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited September 2003
    Your right, I munged the text in the Webtier.WebCachePath, it now works
    great.

    Any info on the ini file, the correct path was in there, just did not
    get loaded over the incorrect path. Should I build the WebTier without
    any attributes do get around my typos?

    Thanks,
    Dave


  • edited September 2003

    When the WebTier app loads, the WebTier.Loaded method will try to read
    the .ini file. I do not know why it would not load the .ini data,
    perhaps prior to the Loaded method being fired, another error was
    encountered? We have not had any reports of this, but perhaps you are
    the first.

    If you would like to modify one of the demos or create a simple example
    that demonstrates the issue I can check it out here. Send to
    support@digital-metaphors.com in .zip format.




    Best regards,

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