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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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