Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System.EnterpriseServices ? .net framework problem maybe 1

Status
Not open for further replies.

Baesucks

Programmer
Mar 10, 2008
37
US
One day, all of my applications developed in Visual Studio 2005 stopped compiling... I get this error message...

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

Any suggestions on what might have happened and how to fix it?
 

Go to Start->Settings->Control Panel->Administrative Tools->Microsoft .NET Framework 2.0 Configuration

In the configuration window click the Manage Assembly Cache link. Click on the View List of Configured Assemblies link. in the window that opens, look for System.EnterpriseServices with version 2.0.0.0 . If it is not there, click the back button, then select the Add an Assembly to the Assembly Cache link. in the dialog, browse to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 and find the System.EnterpriseServices.dll. Add this to the Assembly Cache.

If System.EnterpriseServices is listed in the configured Assemblies, try deleting it and add it in again.

Hope this helps.




I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day!
 
Ohhhhhhh Thank you... That did the trick !!!

What in the world would cause that assembly to dissapear?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top