0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Visual Studio Installerで発生する事象の解決備忘録「エラー 申し訳ございません。問題が発生しました」

0
Posted at

経緯はいろいろありすぎて忘れてしまったのですが、事象としては以下の通りです。

■事象
VisualStudioSetup.exeを起動すると「エラー 申し訳ございません。問題が発生しました」と表示され、以降はウィンドを閉じる以外の選択肢がない状態

■試したこと
いろいろやりすぎて忘れました。

■解決した経緯・方法
%TEMP%にdd_bootstrapper.logとかdd_installer.logとかインストール時のログがあるので確認してみたところ、以下のエラーを発見。


System.Configuration.ConfigurationErrorsException: ルート要素が見つかりません。 (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config)


調べるとmachine.configの設定が悪いらしい。

以下のフォルダのmachine.configを確認してみると、片方のconfigが0KBになっていた
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config

同じフォルダ内にmachine.config.defaultがあるのでそっちに差し替えたところ、無事解決。
何なら半年以上起動してくれなかったpowershellも起動してくれるようになりました。
めでたしめでたし。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?