0

Web アプリケーションを実行しようとすると、次のエラーがスローされます。
Matrix.Data.dll を読み込めませんでした。アセンブリを再構築して、再度参照しようとしました。しかし、役に立たない。
また、「アセンブリ バインドのログがオフになっています」という警告が表示
され、アセンブリ バインドの失敗ログに関連するパフォーマンスの低下はどうなりますか?

エラーの詳細:

System.IO.FileLoadException: Could not load file or assembly 'Matrix.Data, Version=5.0.3.16, 
Culture=neutral, PublicKeyToken=ed19106b2f44b5a8' or one of its dependencies. 
The located assembly's manifest definition does not match the assembly reference. 
(Exception from HRESULT: 0x80131040)

File name: 'Matrix.Data, Version=5.0.3.16, Culture=neutral, 
PublicKeyToken=ed19106b2f44b5a8'
at Matrix.Administration._Administration.DoRequest(Boolean& plReplacePlaceholders)
at Matrix.AppServerHTTPHandler.doRequestDefault()
 in D:\FX\AppServer\Appserver.vb:line 443
at AppServer.AppServerHTTPHandler.doRequest(Kernel pKernel) 
in D:\FX\AppServer\Appserver.vb:line 373
at AppServer.AppServerHTTPHandler.processRequest(HttpContext context) 
in D:\FX\AppServer\Appserver.vb:line 107

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
 [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated 
with assembly bind failure logging.
To turn this feature off, remove the registry value 
[HKLM\Software\Microsoft\Fusion!EnableLog].
4

1 に答える 1

1

Accessibility.dll が破損している可能性があります。管理者であっても、ファイルを削除することはできません。

セキュリティ設定に移動し、所有者を TrustedInstaller から別のユーザーに変更し、ファイルに対するアクセス許可を自分自身に付与する必要があります。完了したら、動作中のコンピューターから Accessibility.dll を取得し、破損したバージョンを置き換えます。

TrustedInstaller が所有するファイルを編集/削除/置換する権限をユーザーが持っていないため、Microsoft のインストーラーが DLL を破損したと推測できます。

于 2013-04-11T17:14:46.420 に答える