Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
TGu990131
Regular Visitor

Fail to uninstall power bi report server(2022 September)

Hi everyone:

TGu990131_0-1674094873709.png

When i tried to uninstall the report server,error encounterd.

Below is the log.

 

Setup FailedSystem.UriFormatException: Invalid URI: A Dos path must be rooted, for example, 'c:\'.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Xml.XmlResolver.ResolveUri(Uri baseUri, String relativeUri)
at System.Xml.XmlTextReaderImpl..ctor(String uriStr, XmlReaderSettings settings, XmlParserContext context, XmlResolver uriResolver)
at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)
at System.Xml.Linq.XElement.Load(String uri, LoadOptions options)
at Microsoft.BIServer.Configuration.ConfigReader..ctor(String configFileFullPath)
at Microsoft.BIServer.Setup.RegisterUrlAclsStep.GetApplicationsFromConfigFile()
at Microsoft.BIServer.Setup.RegisterUrlAclsStep.Uninstall()
at SetupEngine.Uninstall()
at Microsoft.BIServer.Setup.Setup.Main(String[] cmdLine)

 

I wish i could get your help.

1 REPLY 1
jaweher899
Impactful Individual
Impactful Individual

This error message indicates that there is an issue with the configuration file for the Power BI Report Server. The specific error message "Invalid URI: A Dos path must be rooted, for example, 'c:'." suggests that the path specified in the configuration file is not a valid file path.

Here are a few things you can try to resolve the issue:

  1. Check the configuration file: Open the configuration file (RSReportServer.config) and check that the path specified for the file is a valid file path. Make sure that the path is rooted, for example, 'c:'.

  2. Check the permissions: Make sure that the user account used to uninstall the Report Server has the necessary permissions to access the configuration file.

  3. Check for updates: Make sure that the Report Server is up to date.

  4. Try to repair the installation: Try to repair the installation of the Report Server. This can be done by running the installer and selecting the "Repair" option.

  5. Try to uninstall by using the command prompt: Try to uninstall the Report Server by using the command prompt and running the command: msiexec /x {product code}

If none of the above solutions work, it's recommended to open a support case with Microsoft to get further assistance.

It's also important to check the Report Server logs for more details about the error and provide this information to the support team.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.