Wednesday, July 16, 2008

Could Not Load File or Assembly Issue

Problem:

Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. System could not find the file.

Cause:

System.EnterpriseServices.dll is missing in the GAC or there exist different versions of this dll.

Fix:

Drag and drop "<windows_directory>\Microsoft.NET\Framework\v2.0.50727\System.EnterpriseServices.dll"
into the "<windows_directory>\assembly\" folder.

Source: http://forums.asp.net/t/956018.aspx

No comments: