-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SqlRs: Reporting Services 2019 Configuration SQLRS Error #1509
Comments
I personally haven't tested Windows 2019 and Sql 2019 yet so not sure if this something else that needs to happen in the configuration. Is the server restarted between SqlRSSetup and SqlRS? If not, does it do any difference? |
Windows is Version is 2016, not 2019... |
Looks like the DSN is encrypted in the configuration if you look at DSN here. "Specifies the connection string to the database server that hosts the report server database. This value is encrypted and is added to the configuration file when you create the report server database. " So I wonder if the when SqlRs has configured the dsn but some service need to be restarted for it to read the encryption key. I'm just guessing here. Wonder what happens with the method |
This explains that the error thrown in the DSC resource is a generic one, and the actual error is probably that it cannot decrypt the DSN in the configuration file. But after restart it can decrypt it. |
just now i have done a new installation and configuration. --SQLRSSetup-- one time errors: ERROR: Configuration file element UrlReservation has a invalid VirtualRoot. It will be ignored. ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. ; RSPortal_2020_04_23_10_09_52.log --Reboot Server--- one time errors: ERROR: Configuration file element UrlReservation has a invalid VirtualRoot. It will be ignored. ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. ; RSPortal_2020_04_23_10_19_20.log ----SQLRS--- As you an see the InitializeReportServer() still reoccuring errors: After restart of RS Service no further errors and everything works as expected. |
Thank you for the detailed drill down. Since the problem is when SqlRs is calling the Reporting Services method Looking at the remarks section here it tells what is suppose to happen. One of those steps might not occur. |
Hi @johlju , I can confirm I have the exact same problem. The same DSC config ( Initialising SSRS 2019 using the GUI (configuring the DB connection is enough) works fine. Both 2017 and 2019 GUIs run the same steps (at least that's what get reported in the GUI):
Using I've compared CIM classes' methods on both versions and they are the same. |
Because report server and Power bi report server are not in the SqlServer setup anymore, and are independed resources with a own release timeframe, wouldn't it be better to strip support from SQLServerDsc, and create a ReportServerDSC instead? |
Is there any update on this issue? Have someone found a work around it? Thanks |
Hello, |
Hello, Somehow the code works... but not for different instances names And, I'm with SQL2016 on Windows 2016. So, not sure that the SQL Version is the problem. |
HI all,
|
No one in the community have picked up the issue and sent in a PR to resolve this, so most likely it will not work for SQL2019. But with the help with the script you provided someone in the community maybe get inspired by it and resolve the resource. Thank you for providing a link to working script. |
@andig1 We use SQL 2016-2019, and SQL2019 is the only one for which the resource does not initialise SSRS server after an install. Thank you for the script, I'll have a look and see if it can be incorporated into the resource. |
@andig1 Nope, when I run your script on an uninitialised SSRS 2019 instance, the call to |
@johlju I've even resorted to comparing Is there any way we could get information from relevant SSRS people from Microsoft? |
Progress! It looks like (at least for SSRS 2019) after setting up DB stuff and reserved URLs for the first time, it is enough to restart SSRS service without executing I've confirmed this on my test server with SQL2019, with a hacked I'll do some more testing and check behaviour on SQL 2016 and 2017 and come up with a PR. |
@Fiander sorry for late answer. We could add a new repo for those resources that handles those separate products, but then we need a maintainer for that new repo (module). It would also be a breaking change when we remove functionality to only keep functionality for SSRS 2016 and below. If someone raises there hand to be a maintainer for a new module I happy to set up the project so the community can build on it. |
Details of the scenario you tried and the problem that is occurring
Verbose logs showing the problem
Suggested solution to the issue
The DSC configuration that is used to reproduce the issue (as detailed as possible)
SQL Server edition and version the target node is running
Microsoft SQL Server 2019 (RTM-CU4) (KB4548597) - 15.0.4033.1 (X64) Mar 14
2020 16:10:35 Copyright (C) 2019 Microsoft Corporation Enterprise Edition:
Core-based Licensing (64-bit) on Windows Server 2016 Datacenter 10.0
(Build 14393: ) (Hypervisor)
SQL Server PowerShell modules present on the target node
The operating system the target node is running
Version and build of PowerShell the target node is running
Name Value
---- -----
PSVersion 5.1.14393.3471
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.3471
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Version of the DSC module that was used
The text was updated successfully, but these errors were encountered: