Home Server

Windows Service Tutorial with files

Hello,

I am running through your tutorial for running a report server from a windows service. The tutorial uses the previous Report Explorer tutorial. I am trying to implement the same tutorial but using the previous "Reports in Files" example. I followed the same steps but when I try to open the report (which comes from a file) I get this error: "Server error: Processing request for report Examples\rb003OrderList EFDException,[FireDAC][Stan][Def]-254. Definition [RBDemos] is not found in [].

Can you give me some guidance on what the error is and how I can correct it?

Thanks

Joe

Comments

  • Hi Joe,

    For dmMain.pas, add the following code to the DataModule OnCreate event

    Database1.DriverName := 'SQLite';
    Database1.Params.Database := 'C:\Users\Public\Documents\RBuilder\DemoData\RBDemos.sdb';



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
Sign In or Register to comment.