Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8012275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:16:56+00:00 2026-06-04T19:16:56+00:00

We have used the excellent RSBuild for bulk uploading reports to SQL Server Reporting

  • 0

We have used the excellent RSBuild for bulk uploading reports to SQL Server Reporting Services (SSRS) but I find no way to bulk upload images. Using the Report Manager to upload one image at a time is silly. The difficulty is that the SQL Server Reporting web service that RSBuild uses doesn’t support image uploads. Is there a way to bulk upload images to SSRS in some other fashion?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T19:16:57+00:00Added an answer on June 4, 2026 at 7:16 pm

    You will need to upload one image manually first so you read the contents of the Catalog table for the image row it inserted in the ReportServer database and use the ParentId, PolicyId and CreatedById and ModifiedById in the following script.

    Of course, this can be further abstracted into an application and be more awesome.

    BEGIN TRAN
        DECLARE @ReportFolderPath NVARCHAR(MAX)
        DECLARE @ImageFolderPath NVARCHAR(MAX)
        DECLARE @ImageFileName NVARCHAR(MAX)
        DECLARE @ImageFullFileName NVARCHAR(MAX)
        DECLARE @ImageFileExtension NVARCHAR(MAX)
        DECLARE @ImageMime NVARCHAR(MAX)
        DECLARE @ImageFullPath NVARCHAR(MAX)
        DECLARE @ParentId NVARCHAR(MAX)
        DECLARE @PolicyId NVARCHAR(MAX)
        DECLARE @CreatedModifiedId NVARCHAR(MAX)
        DECLARE @SqlToGetImageContent NVARCHAR(MAX)
        DECLARE @ImageContent VARBINARY(MAX)
    
        SET @ReportFolderPath = '/MyReports/'
        SET @ImageFolderPath = 'C:\Users\jdoe\Desktop\Reports\images\'
        SET @ImageFileName = 'logo'
        SET @ImageFileExtension = 'bmp' 
        SET @ImageFullFileName = @ImageFileName + '.' + @ImageFileExtension
        SET @ImageFullPath = @ImageFolderPath + @ImageFileName  
        SET @ParentId = '0AAFF0D8-0616-4E63-9B1D-EBF99153B443'      
        SET @PolicyId = '8632B07A-EE75-4097-970C-18BE9958F7A2'                                                          
        SET @CreatedModifiedId = 'C6121121-D0E4-4B25-BD4E-177EDA709ECB'
        SET @SqlToGetImageContent = 'SELECT @ImageContent = BulkColumn FROM Openrowset(Bulk '''+ @ImageFolderPath + @ImageFullFileName +''', Single_Blob) AS ImageData'
    
        IF(@ImageFileExtension = 'jpg')
            BEGIN
                SET @ImageMime = 'image/jpeg'
            END
        ELSE
            BEGIN
                SET @ImageMime = 'image/' + @ImageFileExtension
            END
    
    
        EXEC SP_EXECUTESQL 
            @Query  = @SqlToGetImageContent
          , @Params = N'@ImageContent VARBINARY(MAX) OUTPUT'
          , @ImageContent = @ImageContent OUTPUT
    
        INSERT INTO [ReportServer$DEV2012].[dbo].[Catalog] (ItemID, [Path], Name, ParentID, [Type], Content, [Intermediate], SnapshotDataID,    LinkSourceID,   Property,   [Description],  Hidden, CreatedByID,    CreationDate,   ModifiedByID,   ModifiedDate,   MimeType,   SnapshotLimit,  Parameter,  PolicyID, PolicyRoot, ExecutionFlag, ExecutionTime, SubType, ComponentID)
        VALUES(
                NEWID(),
                @ReportFolderPath + @ImageFullFileName, 
                @ImageFullFileName, 
                @ParentId,  
                3,  
                (SELECT @ImageContent),
                NULL,   
                NULL,   
                NULL,   
                '<Properties />',   
                NULL,   
                0,  
                @CreatedModifiedId, 
                GETDATE(),  
                @CreatedModifiedId,
                GETDATE(),  
                @ImageMime, 
                NULL,   
                NULL,   
                @PolicyId,  
                0,  
                1,  
                NULL,   
                NULL,   
                NULL
            )
    COMMIT TRAN
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have used the excellent gskinner.com/RegExr/ tool to test my string matching regex but
I've used the well-known and excellent Knock Knock server tutorial as a way to
I have an Iphone app that used the excellent ABContactHelper library origionally written for
I have used the following as comments in my .emacs // {{{ // }}}
I have used the following article as a guide to creating a custom EditorPart
I have used JQuery for a small animation work: a table #photos contains 9
We have used Infragistics controls in our applications for years. However, we have always
I have used valgrinds massif tool to monitor memory usage in the past. Does
i have used following code to repeat a process creation/close iteratively dim vProcessInfo as
I have used an expression for validating a positive number as follows: ^\d*\.{0,1}\d+$ when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.