Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
551 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
Bulk uploading images to a report server in SSRS Part three of a three-part series of blogs |
---|
In SQL Server Reporting Services, storing images on a report server provides a convenient way to display pictures in a report. Uploading images one-by-one is tedious so this blog shows you one way to upload multiple images at the same time, including how to organise the files into different folders.
|
Now that we've added all the images to projects in Visual Studio we need to deploy the projects to upload the files to the report server.
Each project in the solution needs to know the URL of the report server and the folder to copy its files to. To set these properties, start by right-clicking a project and choose to view its properties:
I'm choosing to view the Properties of the Certificates project.
In the dialog box which appears, enter the path of the folder you want to upload the project's images to. The default name will match the name of the project, but you can change this if you like.
Set the TargetReportFolder property to the path of the folders you want to create for this project.
Enter the URL of the report server in the TargetServerURL property. The value you enter will depend on the configuration of your report server. Click OK when you've done this.
Repeat this process for each of the other projects in the solution:
These are the properties I've applied to the Countries project.
The final step is to deploy the solution to copy each project and its files to the report server. To do this, right-click the solution and choose Deploy Solution.
Select this option to begin copying files to the report server.
You can see the progress of the deployment in the Output window:
Things are looking good so far!
To check that your files have been deployed correctly, navigate to the Reporting Services web portal and refresh the page.
A new folder has appeared in the web portal.
You can click on a folder to see its contents:
Clicking the Images folder reveals a subfolder for each project we deployed.
Finally, clicking on a subfolder will reveal the images it contains:
Every image in the project has been uploaded.
You can now reference the uploaded image files in your SSRS reports.
Parts of this blog |
---|
|
Some other pages relevant to the above blogs include:
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2024. All Rights Reserved.