Custom Authentication SSRS 2019

  • When trying to setup custom authentication on ssrs 2019 getting "ERR_CONNECTION_REFUSED "

    and this in the logs

     

    ERROR: Error loading configuration file: The configuration file contains an element that is not valid. The #text element is not a configuration file element.

    library!DefaultDomain!13d0!08/02/2023-09:54:52:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: , Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error.  ---> System.Exception: The configuration file contains an element that is not valid. The #text element is not a configuration file element.

    at Microsoft.ReportingServices.Diagnostics.RSConfigurationFileManager.ThrowInvalidFormat(String element)

    at Microsoft.ReportingServices.Diagnostics.RSConfigurationFileManager.ReadCustomAuthenticationUI(XmlNode node, ConfigurationPropertyBag properties)

    at Microsoft.ReportingServices.Diagnostics.RSConfigurationFileManager.ParseUIConfiguration(XmlNode node, ConfigurationPropertyBag properties)

    at Microsoft.ReportingServices.Diagnostics.RSConfigurationFileManager.ParseDocument(XmlDocument xmlConfiguration)

    at Microsoft.ReportingServices.Diagnostics.RSConfigurationFileManager.LoadDocument()

    at Microsoft.ReportingServices.Diagnostics.RSConfigurationFileManager.LoadConfiguration()

    --- End of inner exception stack trace ---;

    appdomainmanager!DefaultDomain!13d0!08/02/2023-09:54:52:: e ERROR: Appdomain:1 DefaultDomain failed to initialize. Error: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error.  ---> System.Exception: The configuration file contains an element that is not valid. The #text element is not a configuration file element..

    appdomainmanager!DefaultDomain!12b8!08/02/2023-09:54:52:: e ERROR: Windows service failed to start. Exception: System.Exception: Default appdomain failed to initialize.

    at Microsoft.ReportingServices.Library.ServiceAppDomainController.Start()

    at Microsoft.ReportingServices.Library.ReportService.OnStart(String[] args)

  • Thanks for posting your issue and hopefully someone will answer soon.

    This is an automated bump to increase visibility of your question.

  • The error is pretty specific:

    The configuration file contains an element that is not valid. The #text element is not a configuration file element.

    Have you  looked at rsreportserver.config (probably @ C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\ReportServer\rsreportserver.config) to see if you have "#text" as an element name?

    Does rsreportserver.config parse as valid xml?

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply