Monday 30 November 2015

SQL Server Reporting Services Migration

Migrate Reporting Services Database to another Instance for 2008/2012

Let suppose there are two SQL Server Instances:
SQLServerA
SQLServerB
Here we are migrating Reports from
Source Server - SQLServerA to Target Server - SQLServerB

1). Backup the encryption key and the RS Databases - ReportServer & ReportServerTempdb database from SQLServerA
2). Stop the reporting services in SQLServerB
3). Restore these databases on SQLServerB on with target reporting database name (ReportServerTempdb & ReportServer)
4). Start reporting services on SQLServerB
5). Reset the database connection to ReportingServices on the target machine using Microsoft Reporting Services Configuration Manager
6). Restore the encryption key on SQLServerB
---Restore the encryption key from the backup which you have taken in step 1

After once you open the URL of target server, you might get an error stated -
Scale-out deployment configuration error:
This is because when doing step6 the old server will be added for scale-out deployment on the target machine. If the source and target machine are using different licenses of Reporting Services you might encounter issues that some features are not supported when migrating to a less featured sql server license.
The feature: “Scale-out deployment” is not supported in this edition of Reporting Services. (rsOperationNotSupported)
Normally that should not impose a problem since you would be able to remove the old server from scale-out deploment from the list in Microsoft Reporting Services Configuration Manager.

Solution:
7). On the SQLServerA
Run this command in Query analyser

For SQL2008/2008R2
SELECT * from ReportServer.dbo.Keys
For SQL2012
SELECT * from ReportServer2012.dbo.Keys
and make note of the InstallationId value for the non-null record
8). On ServerB server,
Run this command in Query analyser

For SQL2008/2008R2
SELECT * from ReportServer.dbo.Keys
For SQL2012
SELECT * from ReportServer2012.dbo.Keys
and you should see 3 records or more. One null record, and other records that have values in the MachineName field (these should be the old and new servers name). The InstallationId value from previous step should be in there with the old server's name
9). On the SQLServerB server, delete the record that matches the old server's InstallationId.
for example in this case:
Run this command in Query analyser
DELETE FROM [ReportServer].[dbo].[Keys]
WHERE MachineName = 'SQLServerA'

How to configure URL:
Default URL:
https://servername/Reports/Pages/Folder.aspx

Like in ServerA for default instance:
https://ServerA/Reports/Pages/Folder.aspx

Named instance like ServerA\Dev
http:// ServerB/Reports_Dev/Pages/Folder.aspx

restart the reporting services later and check your reporting services.


24 comments:

  1. Hi thеre i am kavin, its my first time to commenting anyplaсe, when i read this article i thought i could also ⅽreate
    comment due to this sensibⅼe aгticle.
    have a pеek at this web-site : Getting The Best Encryption Software & Learn How To Hօw To Encrypt A Pɑssword F᧐r Free From
    The Movies

    ReplyDelete
  2. It also lets you dispense hot water simply for making other hot beverages.
    This makes K-Cups an easy task to obtain and yes it eliminates any hassle from brewing your next mug of coffee.
    If you use all four together, it's also possible to take advantage
    from the stack-ability of such canisters.

    ReplyDelete
  3. What i do not understood is in fact how you are now not actually a lot more smartly-appreciated than you may be now.
    You are very intelligent. You understand thus considerably on the subject of this topic, produced me in my opinion consider it from numerous
    various angles. Its like men and women don't seem to be
    interested until it is something to accomplish with Woman gaga!
    Your personal stuffs nice. Always handle it up!

    ReplyDelete
  4. My brother suggested I would possibly like this website.
    He used to be entirely right. This put up truly made my day.
    You can not consider just how a lot time I had spent for this info!
    Thanks!

    ReplyDelete
  5. Greetings! Very helpful advice within this article!
    It's the little changes that produce the largest changes.
    Thanks a lot for sharing!

    ReplyDelete
  6. What's Going down i am new to this, I stumbled upon this I have discovered It positively useful
    and it has aided me out loads. I am hoping to contribute & assist other customers like its
    helped me. Good job.

    ReplyDelete
  7. I think this is one of the most significant information for me.
    And i'm glad reading your article. But should remark on some general things, The web site style is wonderful,
    the articles is really excellent : D. Good job, cheers

    ReplyDelete
  8. My brother recommended I might like this blog. He was totally right.
    This post actually made my day. You can not imagine just how much time I had spent for
    this info! Thanks!

    ReplyDelete
  9. I was able to find good advice from your blog articles.

    ReplyDelete
  10. You need to take part in a contest for one of the best websites online.

    I am going to recommend this blog!

    ReplyDelete
  11. Magnificent goods from you, man. I have understand your stuff previous to and you're just too great.

    I really like what you have acquired here, really
    like what you are saying and the way in which you say it.
    You make it enjoyable and you still care for to keep it
    wise. I cant wait to read far more from you. This is actually
    a terrific website.

    ReplyDelete
  12. I'm really inspired with your writing abilities and also with the structure on your blog.
    Is this a paid theme or did you customize it your self?
    Anyway keep up the excellent high quality writing,
    it is rare to peer a nice blog like this one nowadays..

    ReplyDelete
  13. Wonderful article! This is the kind of info that are meant to be shared across the internet.
    Disgrace on Google for not positioning this submit
    upper! Come on over and consult with my site . Thank you =)

    ReplyDelete
  14. Hurrah! After all I got a website from where I be capable of truly take helpful data regarding my study
    and knowledge.

    ReplyDelete
  15. After looking over a number of the articles on your site, I really
    like your technique of writing a blog. I added it to my bookmark
    webpage list and will be checking back soon. Please check out my web site
    too and tell me what you think.

    ReplyDelete
  16. Have you ever thought about writing an e-book or guest authoring on other websites?
    I have a blog centered on the same information you discuss and would love to have you share some stories/information. I
    know my visitors would appreciate your work. If you're even remotely interested,
    feel free to send me an e-mail.

    ReplyDelete
  17. Hi there, I would like to subscribe for this blog to obtain most up-to-date
    updates, thus where can i do it please help.

    ReplyDelete
  18. Exceptional post but I was wondering if you could write a litte more on this
    subject? I'd be very grateful if you could elaborate a little bit more.
    Kudos!

    ReplyDelete
  19. Woah! I'm really digging the template/theme of this
    website. It's simple, yet effective. A lot of times it's very difficult
    to get that "perfect balance" between usability and appearance.
    I must say you've done a very good job with this. In addition,
    the blog loads super fast for me on Safari. Superb Blog!

    ReplyDelete
  20. Hi, all is going fine here and ofcourse every one is sharing facts, that's actually good, keep up writing.

    ReplyDelete
  21. Heya i'm for the first time here. I found this board and I find It really useful & it helped me out much.
    I hope to give something back and help others like you
    aided me.

    ReplyDelete
  22. Hey, I think your blog might be having browser compatibility issues.

    When I look at your blog in Safari, it looks fine but when opening in Internet Explorer, it has some overlapping.

    I just wanted to give you a quick heads up! Other then that,
    fantastic blog!

    ReplyDelete
  23. Hello, i think that i saw you visited my blog so i came to “return the favor”.I'm attempting
    to find things to improve my web site!I suppose its ok to use a few
    of your ideas!!

    ReplyDelete
  24. Fantastic beat ! I wish to apprentice at the same time as you amend your website, how could
    i subscribe for a blog site? The account helped me a acceptable deal.
    I were tiny bit familiar of this your broadcast provided vibrant clear idea

    ReplyDelete