Question
“How can I run my report server as a Windows Service?”
Solution
RB Server Edition includes a windows service called ReportBuilder Services. ReportBuilder Services can host your report server. For details see RBServer\Windows Services\ReadMe.doc.
A second solution is to create a custom windows service. This is the approach we recommend when multiple report servers need to run on a single machine.
Download: CustomRBServiceApp.zip
Steps:
- Use Delphi to create a Windows Service Application project (File | New | Other | Service).
- Place a TrsServer component on the Service module. (Add a separate DataModule for each ReportVolume component).
- Use the Object Inspector to modify the TService properties such as Name and DisplayName.
- Use the Object Inspector to configure the TrsServer properties such as Port.
- To install the windows service run the application with a /INSTALL parameter (Use the Delphi Run | Parameters dialog).
- To uninstall the windows service run this application with the /UNINSTALL parameter.
Sample Delphi code: