I am trying to automate the setup of SQL server 2014 Standard edition with SSRS. To avoid SSRS being setup using the default port 80 for the webservice and report manager url's, I've chosen to install SQL server with the setting RSINSTALLMODE="FilesOnlyMode" and then use powershell to do the final setup steps.
To setup the ReportServer database, I use the "GenerateDatabaseCreationScript" method available in the "MSReportServer_ConfigurationSetting" class. This succeeds without problems however when I use my browser to connect to the web service or report manager url's, I get a "rsInvalidReportServerDatabase" and a "rsReportServerDatabaseUnavailable " error, respectively.
Running the stored procedure named GetDbVersion in the ReportServer database returns "C.0.9.45". If I delete the ReportServer database and then recreate it database manually with the Report Services Configuration manager, the same stored procedure returns "162".
So it seems to me there's a problem with the GenerateDatabaseCreationScript but I can't find any information on this. How can I automate the setup of SSRS and ensure it does not use port 80?
There are many manual solutions involving multi-step GUI solutions but the key for me is to automate this with powershell which doesn't appear to be possible.