解决 Power BI Desktop 不启动时的问题Resolve Issues when Power BI Desktop will not launch

在 Power BI Desktop 中,已安装且正在运行旧版 Power BI 本地数据网关的用户可能无法启动 Power BI Desktop,因为 Power BI 本地网关对本地计算机的命名管道施加了管理策略限制。In Power BI Desktop, users who installed and are running previous versions of the Power BI on-premises data gateway can be blocked from launching Power BI Desktop, due to administrative policy restrictions that the Power BI on-premises gateway placed on named pipes on the local machine.

解决本地数据网关和 Power BI Desktop 存在的问题Resolve issues with the on-premises data gateway and Power BI Desktop

可通过三种方法,解决与本地数据网关相关的问题,并允许启动 Power BI Desktop:There are three options to resolve the issue associated with the on-premises data gateway, and enable Power BI Desktop to launch:

解决方案 1:安装最新版 Power BI 本地数据网关Resolution 1: Install the latest version of Power BI on-premises data gateway

最新版 Power BI 本地数据网关不会对本地计算机施加命名管道限制,这样 Power BI Desktop 就可以正常启动了。The latest version of the Power BI on-premises data gateway does not place named pipe restrictions on the local machine, and allows Power BI Desktop to launch properly. 如需继续使用 Power BI 本地数据网关,建议采用此解决方案。If you need to continue using Power BI on-premises data gateway, this is the recommended resolution. 可以从此位置下载最新版 Power BI 本地数据网关。You can download the latest version of Power BI on-premises data gateway from this location. 请注意,此链接是指向安装可执行文件的直接下载链接。Note that the link is a direct download link to the installation executable.

解决方案 2:卸载或停止运行 Power BI 本地数据网关 Windows 服务Resolution 2: Uninstall or stop the Power BI on-premises data gateway Windows service

如果不再需要使用 Power BI 本地数据网关,可以卸载或停止运行 Power BI 本地数据网关 Windows 服务。这样一来,便会撤消策略限制,并允许启动 Power BI Desktop。If you no longer need the Power BI on-premises data gateway, you can uninstall it, or you can stop the Power BI on-premises data gateway Windows service, which removes the policy restriction, and allows Power BI Desktop to launch.

解决方案 3:使用管理员特权运行 Run Power BI DesktopResolution 3: Run Power BI Desktop with administrator privilege

或者,可以管理员身份启动 Power BI Desktop,这也会使其成功启动。Alternatively, you can successfully launch Power BI Desktop as administrator, which also allows Power BI Desktop to successfully launch. 仍建议安装最新版 Power BI 本地数据网关,如本文先前部分中所述。It is still recommended that you install the latest version of Power BI on-premises data gateway, as described earlier in this article.

帮助解决在启动 Power BI Desktop 时遇到的其他问题Help with other issues when launching Power BI Desktop

我们会尽可能地收录 Power BI Desktop 出现的问题。We strive to cover as many issues that occur with Power BI Desktop as possible. 我们会定期查看可能会对大量客户造成影响的问题,并将其收录到我们的文章中。We regularly look at issues that may be affecting many customers, and include them in our articles.

如果无法启动 Power BI Desktop 不是由于本地数据网关所致,或先前的解决方案不起作用,可以向 Power BI 支持 (https://support.powerbi.com) 提交支持事件,这样有助于我们发现并解决用户遇到的问题。If the issue with launching Power BI Desktop is not associated with the on-premises data gateway, or when the previous resolutions don't work, you can submit a support incident to Power BI support (https://support.powerbi.com) to help identify and solve your issue.

如果今后在使用 Power BI Desktop 时遇到其他问题(我们希望不会出现问题或出现的问题很少),启用跟踪和收集日志文件将有助于更好地隔离和发现问题。For other issues you may encounter in the future with Power BI Desktop (we hope there are none, or very few), it is helpful to turn on tracing and gather log files, to better isolate and identify the issue. 若要启用跟踪,请依次选择“文件”、“选项和设置”、“选项”和“诊断”,再选中“诊断选项”下的“启用跟踪”。To turn on tracing, select File > Options and settings > Options and then select Diagnostics, then check Enable tracing under Diagnostic Options. 我们认识到,必须运行 Power BI Desktop,才能设置此选项,这更有助于解决今后发生的与启动 Power BI Desktop 相关的问题。We realize that Power BI Desktop must be running to set this option, which is more helpful for future issues associated with launching Power BI Desktop.