Hello everyone,
I have a multitenancy web application which uses database level seperation. This means that each tenant (customer) has their own database. The reason for this is that I make extensive use of Filestreams and restoring from backups is extremely difficult with large databases using any other approach.
I am looking to put in reports into my web application. I tried looking at using reporting services based reports but from I am struggling to work out how one report can be shared between all of the databases as the report seems to want to be connected to the database and dataset once it has been defined and I do not want 50 reporting services running for 50 tenants.
I was thinking, is it best to put a report viewer into a form, build my own custom controls and then in the code behind manage which database the report is using for its source (using the data access layer) or is there some special trick to using reporting services that I do not know about that allows this 'single report, multiple databases' approach I am trying to create please?