Could not load file or assembly'System.EnterpriseServices'...... when I try to connect to the SQL Server Express 2005.
Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Systemet could not find the file.
I reinstall the SQL Server Express again, but it still have this problem.
The solution is as follow:
drag the file at
"<windows_directory>/Microsoft.NET/Framework/v2.0<your_subversion>/System.EnterpriseServices.dll"
to the "<windows_directory>/assembly/" folder.
Before that just check the properties of the file to be sure it has the appropriate version number.
本文解决了在尝试连接SQL Server Express 2005时遇到的'System.EnterpriseServices'文件或组件加载失败的问题。通过重新安装未能解决问题后,提供了一种解决方案:将特定版本的System.EnterpriseServices.dll文件从.NET Framework目录移动到assembly目录。
2812





