Question “How can I perform thread-safe logon validation? I have defined a Server.SessionParameters for UserName and Password and am using the Server.OnValidateSessionParameters event. Solution The Server is a singleton. This example shows how use a Delphi TCriticalSection object to ensure thread safety. Download: CustomSeverLogging.zip Sample Delphi code: uses SyncObjs; {TForm1.FormCreate} procedure TForm1.FormCreate(Sender: TObject); begin FLock Full Article…
Search the Wiki
How To…Register Report Server
Question “How can I programmatically register my report server with ReportBuilder Services?” 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. This example shows how to programmatically register a report server with ReportBuilder Services. Download: RegisterReportServer.zip Sample Delphi code: uses rsWinServiceController; Full Article…
How To…Handle Exceptions
Question “How can I handle exceptions on the Server?” Solution RB Server automatically handles many common exceptions and sends an error message to the client for display. Unhandled exceptions result in a fatal exception error – the server shuts down and tries to restart itself. You can add exception handling to yoru custom code by trapping exceptions Full Article…