SSRS - Bulk update datasources from dev to prod











up vote
0
down vote

favorite












We've been developing reports in a dev environment for a few months and we're ready for a data migration and to point these reports to a new location.



What I need to do is change the data source for all of these reports without having to go to each report, change the data source, and re-deploy the reports.



I'm thinking I could be able to just change the current data source from the SSRS portal to point to the new location, but I would still need to touch each report and update them in source control.



I also came across a page for the RS.exe utility here. Not sure if that is going to do what I'm looking for.



Is there a best practice for this or is touching each report the only way to accomplish what I'm looking for?










share|improve this question






















  • If you update the datasource directly from the server to point to the new location, this will work fine.
    – Alan Schofield
    Nov 7 at 16:03















up vote
0
down vote

favorite












We've been developing reports in a dev environment for a few months and we're ready for a data migration and to point these reports to a new location.



What I need to do is change the data source for all of these reports without having to go to each report, change the data source, and re-deploy the reports.



I'm thinking I could be able to just change the current data source from the SSRS portal to point to the new location, but I would still need to touch each report and update them in source control.



I also came across a page for the RS.exe utility here. Not sure if that is going to do what I'm looking for.



Is there a best practice for this or is touching each report the only way to accomplish what I'm looking for?










share|improve this question






















  • If you update the datasource directly from the server to point to the new location, this will work fine.
    – Alan Schofield
    Nov 7 at 16:03













up vote
0
down vote

favorite









up vote
0
down vote

favorite











We've been developing reports in a dev environment for a few months and we're ready for a data migration and to point these reports to a new location.



What I need to do is change the data source for all of these reports without having to go to each report, change the data source, and re-deploy the reports.



I'm thinking I could be able to just change the current data source from the SSRS portal to point to the new location, but I would still need to touch each report and update them in source control.



I also came across a page for the RS.exe utility here. Not sure if that is going to do what I'm looking for.



Is there a best practice for this or is touching each report the only way to accomplish what I'm looking for?










share|improve this question













We've been developing reports in a dev environment for a few months and we're ready for a data migration and to point these reports to a new location.



What I need to do is change the data source for all of these reports without having to go to each report, change the data source, and re-deploy the reports.



I'm thinking I could be able to just change the current data source from the SSRS portal to point to the new location, but I would still need to touch each report and update them in source control.



I also came across a page for the RS.exe utility here. Not sure if that is going to do what I'm looking for.



Is there a best practice for this or is touching each report the only way to accomplish what I'm looking for?







reporting-services ssrs-2016






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 7 at 15:43









jdids

84414




84414












  • If you update the datasource directly from the server to point to the new location, this will work fine.
    – Alan Schofield
    Nov 7 at 16:03


















  • If you update the datasource directly from the server to point to the new location, this will work fine.
    – Alan Schofield
    Nov 7 at 16:03
















If you update the datasource directly from the server to point to the new location, this will work fine.
– Alan Schofield
Nov 7 at 16:03




If you update the datasource directly from the server to point to the new location, this will work fine.
– Alan Schofield
Nov 7 at 16:03












1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










In order to avoid manually configuring individual Data Sources, you will either have to use an existing 3rd party tool or create one yourself that wraps the reporting services api.



I have two suggestions that might not be useful now, since you are ready to deploy, however, they might prove useful in future report development.




  1. Use Shared Data Sources. In your reports, configure each Data Set to point to one Shared Data Source. This would allow you to configure the connection information once per instance.


  2. Use a dynamic connection string expression for your report Data Source configuration.







share|improve this answer























  • You are right, I'm too in the weeds. We already utilize the Shared Data Sources and dynamic connections for all solutions except this one :) Looks like I'm going to have to manually touch each report and deploy. Appreciate the response
    – jdids
    Nov 7 at 16:21











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53192848%2fssrs-bulk-update-datasources-from-dev-to-prod%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










In order to avoid manually configuring individual Data Sources, you will either have to use an existing 3rd party tool or create one yourself that wraps the reporting services api.



I have two suggestions that might not be useful now, since you are ready to deploy, however, they might prove useful in future report development.




  1. Use Shared Data Sources. In your reports, configure each Data Set to point to one Shared Data Source. This would allow you to configure the connection information once per instance.


  2. Use a dynamic connection string expression for your report Data Source configuration.







share|improve this answer























  • You are right, I'm too in the weeds. We already utilize the Shared Data Sources and dynamic connections for all solutions except this one :) Looks like I'm going to have to manually touch each report and deploy. Appreciate the response
    – jdids
    Nov 7 at 16:21















up vote
0
down vote



accepted










In order to avoid manually configuring individual Data Sources, you will either have to use an existing 3rd party tool or create one yourself that wraps the reporting services api.



I have two suggestions that might not be useful now, since you are ready to deploy, however, they might prove useful in future report development.




  1. Use Shared Data Sources. In your reports, configure each Data Set to point to one Shared Data Source. This would allow you to configure the connection information once per instance.


  2. Use a dynamic connection string expression for your report Data Source configuration.







share|improve this answer























  • You are right, I'm too in the weeds. We already utilize the Shared Data Sources and dynamic connections for all solutions except this one :) Looks like I'm going to have to manually touch each report and deploy. Appreciate the response
    – jdids
    Nov 7 at 16:21













up vote
0
down vote



accepted







up vote
0
down vote



accepted






In order to avoid manually configuring individual Data Sources, you will either have to use an existing 3rd party tool or create one yourself that wraps the reporting services api.



I have two suggestions that might not be useful now, since you are ready to deploy, however, they might prove useful in future report development.




  1. Use Shared Data Sources. In your reports, configure each Data Set to point to one Shared Data Source. This would allow you to configure the connection information once per instance.


  2. Use a dynamic connection string expression for your report Data Source configuration.







share|improve this answer














In order to avoid manually configuring individual Data Sources, you will either have to use an existing 3rd party tool or create one yourself that wraps the reporting services api.



I have two suggestions that might not be useful now, since you are ready to deploy, however, they might prove useful in future report development.




  1. Use Shared Data Sources. In your reports, configure each Data Set to point to one Shared Data Source. This would allow you to configure the connection information once per instance.


  2. Use a dynamic connection string expression for your report Data Source configuration.








share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 7 at 21:32

























answered Nov 7 at 15:58









Ross Bush

10.6k21941




10.6k21941












  • You are right, I'm too in the weeds. We already utilize the Shared Data Sources and dynamic connections for all solutions except this one :) Looks like I'm going to have to manually touch each report and deploy. Appreciate the response
    – jdids
    Nov 7 at 16:21


















  • You are right, I'm too in the weeds. We already utilize the Shared Data Sources and dynamic connections for all solutions except this one :) Looks like I'm going to have to manually touch each report and deploy. Appreciate the response
    – jdids
    Nov 7 at 16:21
















You are right, I'm too in the weeds. We already utilize the Shared Data Sources and dynamic connections for all solutions except this one :) Looks like I'm going to have to manually touch each report and deploy. Appreciate the response
– jdids
Nov 7 at 16:21




You are right, I'm too in the weeds. We already utilize the Shared Data Sources and dynamic connections for all solutions except this one :) Looks like I'm going to have to manually touch each report and deploy. Appreciate the response
– jdids
Nov 7 at 16:21


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53192848%2fssrs-bulk-update-datasources-from-dev-to-prod%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Xamarin.form Move up view when keyboard appear

Post-Redirect-Get with Spring WebFlux and Thymeleaf

Anylogic : not able to use stopDelay()