プロが教える店舗&オフィスのセキュリティ対策術

下記のようなメッセージが出るようになってしまいました。
解決策を教えていただきたいです。

Just-In-Time (JIT) デバッグを呼び出すための詳細については、
ダイアログ ボックスではなく、このメッセージの最後を参照してください。
************** 例外テキスト **************
System.Configuration.ConfigurationErrorsException: 構成システムを初期化できませんでした。 ---> System.Configuration.ConfigurationErrorsException: ルート要素が見つかりません。 (C:\Users\S.OHSHIMA\AppData\Local\MSI\SCM.exe_Url_zv0ikcohnhzptbjtykvepncdk0ijftla\12.14.9242.0\user.config) ---> System.Xml.XmlException: ルート要素が見つかりません。
場所 System.Xml.XmlTextReaderImpl.Throw(Exception e)
場所 System.Xml.XmlTextReaderImpl.ParseDocumentContent()
場所 System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)
場所 System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
--- 内部例外スタック トレースの終わり ---
場所 System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
場所 System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
場所 System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
--- 内部例外スタック トレースの終わり ---
場所 System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
場所 System.Configuration.Internal.InternalConfigRoot.OnConfigRemoved(InternalConfigEventArgs e)
場所 System.Configuration.Internal.InternalConfigRoot.RemoveConfigImpl(String configPath, BaseConfigurationRecord configRecord)
場所 System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
場所 System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
場所 System.Configuration.ConfigurationManager.GetSection(String sectionName)
場所 System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)
場所 System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
場所 System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
場所 System.Configuration.SettingsBase.SetPropertyValueByName(String propertyName, Object propertyValue)
場所 System.Configuration.SettingsBase.set_Item(String propertyName, Object value)
場所 System.Configuration.ApplicationSettingsBase.set_Item(String propertyName, Object value)
場所 MSI.SCM.SCMII.MainForm_Load(Object sender, EventArgs e)
場所 System.Windows.Forms.Form.OnLoad(EventArgs e)
場所 System.Windows.Forms.Form.OnCreateControl()
場所 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
場所 System.Windows.Forms.Control.CreateControl()
場所 System.Windows.Forms.Control.WmShowWindow(Message& m)
場所 System.Windows.Forms.Control.WndProc(Message& m)
場所 System.Windows.Forms.Form.WmShowWindow(Message& m)
場所 MSI.SCM.SCMII.WndProc(Message& m)
場所 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

以下に,「Microsoft.NET/Framework」関連のDLL名がたくさん並びますが,文字数制限に引っかかってしまい投稿できませんので,別投稿とします。

質問者からの補足コメント

  • ************** 読み込まれたアセンブリ **************
    mscorlib
    アセンブリ バージョン:4.0.0.0
    Win32 バージョン:4.7.3260.0 built by: NET472REL1LAST_C
    コードベース:file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
    ----------------------------------------
    SCM
    アセンブリ バージョン:12.14.9242.0
    Win32 バージョン:12.014.09242.0
    コードベース:file:///C:/Program%20Files%20(x86)/SCM/SCM.exe

      補足日時:2019/02/06 21:05
  • ----------------------------------------
    System.Windows.Forms
    アセンブリ バージョン:4.0.0.0
    Win32 バージョン:4.7.3221.0 built by: NET472REL1LAST_C
    コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

      補足日時:2019/02/06 21:06
  • ----------------------------------------
    System
    アセンブリ バージョン:4.0.0.0
    Win32 バージョン:4.7.3314.0 built by: NET472REL1LAST_B
    コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

      補足日時:2019/02/06 21:07
  • ----------------------------------------
    System.Drawing
    アセンブリ バージョン:4.0.0.0
    Win32 バージョン:4.7.3221.0 built by: NET472REL1LAST_C
    コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

      補足日時:2019/02/06 21:08
  • ----------------------------------------
    PresentationFramework
    アセンブリ バージョン:4.0.0.0
    Win32 バージョン:4.7.3221.0
    コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll

      補足日時:2019/02/06 21:08
  • ----------------------------------------
    WindowsBase
    アセンブリ バージョン:4.0.0.0
    Win32 バージョン:4.7.3221.0 built by: NET472REL1LAST_C
    コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll

      補足日時:2019/02/06 21:09
  • ----------------------------------------
    System.Core
    アセンブリ バージョン:4.0.0.0
    Win32 バージョン:4.7.3221.0 built by: NET472REL1LAST_C
    コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

      補足日時:2019/02/06 21:09
  • ----------------------------------------
    PresentationCore
    アセンブリ バージョン:4.0.0.0
    Win32 バージョン:4.7.3221.0 built by: NET472REL1LAST_C
    コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll

      補足日時:2019/02/06 21:10
  • ----------------------------------------
    System.Configuration
    アセンブリ バージョン:4.0.0.0
    Win32 バージョン:4.7.3062.0 built by: NET472REL1
    コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

      補足日時:2019/02/06 21:10
  • 更に10の項目があり,最後に以下があります。

    ** JIT デバッグ **
    Just-In-Time (JIT) デバッグを有効にするには、このアプリケーション、
    またはコンピューター (machine.config) の構成ファイルの jitDebugging
    値を system.windows.forms セクションで設定しなければなりません。
    アプリケーションはまた、デバッグを有効にしてコンパイルされなければ
    なりません。
    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>
    JIT デバッグが有効なときは、このダイアログ ボックスで処理するよりも、
    ハンドルされていない例外はすべてコンピューターに登録された
    JIT デバッガーに設定されなければなりません。

      補足日時:2019/02/06 21:14

A 回答 (2件)

最初のエラーメッセージから判断すると


SCM.exe というアプリの設定ファイル (〜\MSI\SCM.exe_Url_zv0ikcohnhzptbjtykvepncdk0ijftla\12.14.9242.0\user.config )が破損したかなんかで、正常に読み込めない、というもののようです。


当該ファイルを削除(またはバックアップへ移動)すれば、これまでの設定は消えますが、動作はするのではないか、と思われます。
試してないし、責任も取りかねるので、あくまで自己責任で。
    • good
    • 1
この回答へのお礼

user.configを削除したところ,エラーメッセージが表示されなくなりました。
ありがとうございました。

お礼日時:2019/02/07 20:49

>別投稿とします。


別投稿じゃなくて「補足」に追加しなさい。
でないとルール違反になるだけで問題の解決にはならないぞ。
    • good
    • 1
この回答へのお礼

ご指摘ありがとうございました。

お礼日時:2019/02/06 21:15

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!