SQL Server Management Studio 18 日志文件?

SQL Server Management Studio 18 log files?

我的 SQL Server Management Studio 18.0 突然停止工作,不再启动。我在 C:\Program Files (x86)\Microsoft SQL Server Management Studio 18 中找不到任何日志,尽管我需要 Management Studio 的日志,但 Google 总是告诉我如何分析 SQL 服务器的日志。如何分析 SQL Server Management Studio 的启动问题?该日志在哪里或如何启用它们? 注意:我已经尝试过重新安装 - 没有帮助。

运行 带有 -log 参数的 SSMS,看到的错误是

"C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\Ssms.exe" -log D:\log.txt

您遇到的错误很可能是 SSMS2018 - Installed, but will not run

The recommended workaround, in the interim, is:

1) Close all instances of SSMS

2) Edit ssms.exe.config

3) Remove the line that has the following text (should be line 38):

NgenBind_OptimizeNonGac  enabled=“1”

That’s the same change that will be in the next release of SSMS 18.x