I am a beginner user of SQL Reporting Services. I wrote a few reports. They all use stored procedures on my development SQL server. Now I want to deploy them into 开发者_如何学Goproduction, and repoint the datasets and datasources to my production SQL db.
How best to do this? Can I just do a global change from development_server_name to production_server_name?
Thank you.
You set up your reports to use a shared data source. The data source is published along with the reports. You deploy your datasource, then go into SSRS management URL and modify the newly deployed data source to point to a the production server. All subsequent deployments will preserve this change, so you can now deploy modified and new reports at leisure, they will automatically pick up the redirect to the production server once they are on the SSRS site.
Of course, if you used stored procedures, you need to deploy those as well on the production server.
If you didn't used shared data sources on the reports, then lear your lesson, go back and change them to use a shared data source, then deploy.
精彩评论