System.io.FileLoadexception。アクセシビリティをロードできませんでした、バージョン= 2.0.0.0

StackOverflow https://stackoverflow.com/questions/5859389

質問

私は最近この問題を抱えていたので、マシンにインストールしたものが原因かもしれません。しかし、私は思い出せません。時々、コンピューターにポップアップするMicrosoft .NETフレームワークメッセージボックスを受け取ります。

「アプリケーションのコンポーネントで未処理の例外が発生しました。[続行]をクリックすると、アプリケーションはこのエラーを無視し、続行しようとします。

ファイルまたはアセンブリの「アクセシビリティ、バージョン= 2.0.0.0、Culture = neutral、publicKeyToken = B03F5F7F11D50A3A」またはその依存関係の1つをロードできませんでした。与えられたアセンブリ名またはコードベース "

.NET 4.0フレームワークを再インストールしてみました。それを再インストールするために.NET 2.0フレームワークのダウンロードが見つかりません。 GaCutil /UFアクセシビリティを使用して、DLLをアンインストールするように強制しようとしましたが、それは機能しません。また、アクセシビリティDLLがインストールされている場所をチェックし、他のマシンと比較しましたが、すべてがGlobal.configやweb.configを含めて同じです。

この例外は、マシン上の1つのプロセスで発生するだけではありません。私のGACの問題であるため、このアセンブリを使用するアプリケーションは同じ例外をスローします。

私はフュージョンによるバインディングロギングをオンにしました、そして、これは私に説明します:

"See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileLoadException: Could not load file or assembly 'Accessibility, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
File name: 'Accessibility, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at System.Windows.Forms.Control.OnHandleCreated(EventArgs e)
   at System.Windows.Forms.Control.WmCreate(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

=== Pre-bind state information ===
LOG: User = CORP\agg9909
LOG: DisplayName = Accessibility, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/Program Files (x86)/Intel/Intel(R) Management Engine Components/IMSS/
LOG: Initial PrivatePath = NULL
Calling assembly : System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IMSS\PrivacyIconClient.exe.Config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config.
LOG: Post-policy reference: Accessibility, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80131047.



************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5444 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
PrivacyIconClient
    Assembly Version: 6.0.40.1213
    Win32 Version: 6.0.40.1213
    CodeBase: file:///C:/Program%20Files%20(x86)/Intel/Intel(R)%20Management%20Engine%20Components/IMSS/PrivacyIconClient.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
AMT_COM_InterfaceLib
    Assembly Version: 1.0.0.0
    Win32 Version: 6.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Intel/Intel(R)%20Management%20Engine%20Components/IMSS/AMT_COM_InterfaceLib.DLL
----------------------------------------
AMT_SW_GUI
    Assembly Version: 1.0.3538.22155
    Win32 Version: 1.0.0.20
    CodeBase: file:///C:/Program%20Files%20(x86)/Intel/Intel(R)%20Management%20Engine%20Components/IMSS/AMT_SW_GUI.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box."

どんな助けも大歓迎です。

役に立ちましたか?

解決

あなたのアクセシビリティ.dllはおそらく破損しています。管理者としてであっても、ファイルを削除することはできません。

セキュリティ設定に移動し、所有者をTrustEdInStallerから別のユーザーに変更し、ファイルにアクセス許可を与える必要があります。完了したら、作業コンピューターからアクセシビリティを取得し、破損したバージョンを交換します。

Microsoftのインストーラーは、TrustEdInStallerが所有するファイルを編集/削除/交換する許可を持たないため、MicrosoftのインストーラーがDLLを破損しました。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top