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 9204855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:48:41+00:00 2026-06-17T23:48:41+00:00

I have added a lot of reports with an invalid data source login to

  • 0

I have added a lot of reports with an invalid data source login to an SSRS report sever and I wanted to update the User Name and Password with a script to update it so I don’t have to update each report individually.

However, from what I can tell the fields are store as Images and are encrypted. I can’t find anything out about how they are encrypted or how to update them. It appears that the User Name and password are stored in the dbo.DataSource tables. Any ideas? I want the script to run in SQL.

Example Login Info:

Report Manager Example

  • 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-17T23:48:42+00:00Added an answer on June 17, 2026 at 11:48 pm

    I would be very, very, VERY leery of hacking the Reporting Services tables. It may be that someone out there can offer a reliable way to do what you suggest, but it strikes me as a good way to clobber your entire installation.

    My suggestion would be that you make use of the Reporting Services APIs and write a tiny app to do this for you. The APIs are very full-featured — pretty much anything you can do from the Report Manager website, you can do with the APIs — and fairly simple to use.

    The following code does NOT do exactly what you want — it points the reports to a shared data source — but it should show you the basics of what you’d need to do.

        public void ReassignDataSources()
        {
            using (ReportingService2005 client = new ReportingService2005)
            {
                var reports = client.ListChildren(FolderName, true).Where(ci => ci.Type == ItemTypeEnum.Report);
    
                foreach (var report in reports)
                {
                    SetServerDataSource(client, report.Path);
                }
            }
        }
    
        private void SetServerDataSource(ReportingService2005 client, string reportPath)
        {
            var itemSources = client.GetItemDataSources(reportPath);
            if (itemSources.Any())
                client.SetItemDataSources(
                    reportPath,
                    new DataSource[] { 
                            new DataSource() { 
                                Item = CreateServerDataSourceReference(), 
                                Name = itemSources.First().Name 
                            } 
                        });
        }
    
        private DataSourceDefinitionOrReference CreateServerDataSourceReference()
        {
            return new DataSourceReference() { Reference = _DataSourcePath };
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have added a TextField to a UICell in order to allow a user
I have added an extra field Specification in Catalog->Product->Data tab. This text is stored
I have a normal, boring old array which has a lot of data in
I have added 2 Widgets to my app. However if user moves the app
I have a custom report which draws via Graphics2D , and uses a lot
I have added a navigation controller inside a viewcontroller thats inside another navigation controller...
I have added a plugin called scrollpaper to a site I'm working on. The
I have added an UIImageView as a subview in UIView , and then I
I have added an HTML file to my solution in VS2010. How do you
I have added a checker to ensure that all fields in a form have

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.