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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Super User
Super User

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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