1

我收到此错误:

Could not load file or assembly 'System.Data' or one of its dependencies

这是我在 Web.Config 中的代码。

<add assembly="System.Data" />

程序集加载跟踪:以下信息有助于确定无法加载程序集“System.Data”的原因。

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].

版本信息:Microsoft .NET Framework 版本:4.0.30319;ASP.NET 版本:4.0.30319.272

你能帮我弄清楚我做错了什么吗?谢谢

4

0 回答 0