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.