Error message: Could not load file or assembly 'System.EnterpriseServices.......

Last post 07-17-2008 1:37 PM by 1bigorca. 4 replies.

Sort Posts:

  • Error message: Could not load file or assembly 'System.EnterpriseServices.......

    01-23-2006, 6:07 AM
    • Loading...
    • kalfarlien
    • Joined on 01-08-2006, 11:36 AM
    • Posts 5

    I get the following error message when I am debugging a site:

    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 have tried to reinstall VS 2005 express twice, but with the same result.

    Do anyone have a tip what to do?

  • Re: Error message: Could not load file or assembly 'System.EnterpriseServices.......

    02-08-2006, 6:53 AM
    • Loading...
    • spaniard
    • Joined on 10-13-2005, 5:16 PM
    • Posts 18
    Most probably you have a different version of the System.EnterpriseServices assembly in the global cache. Or you don't have it at all.
    You need to add the 2.0.0.0 version to the GAC.
    In order to do that just 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.

  • Re: Error message: Could not load file or assembly 'System.EnterpriseServices.......

    02-01-2007, 3:42 PM
    • Loading...
    • ImDaFrEaK
    • Joined on 12-30-2006, 4:57 AM
    • Posts 5
    OMGoodness; you just saved me the worst headache and temperfit.  Thanks :)
  • Re: Error message: Could not load file or assembly 'System.EnterpriseServices.......

    08-04-2007, 8:54 AM
    • Loading...
    • rogue_thief
    • Joined on 08-04-2007, 12:52 PM
    • Posts 1

    I too am experiencing a similar problem; I've been using an automated friend adding program for myspace and one day I went to extract a page and I recieved this message:

    The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

    I was given the option of either ending the program entirely, ignoring the message, or viewing the details of the error. While I cannot recall at this point the details of the message, I do recall that enabling JIT debugging was mentioned (as a matter of fact, I've had similar error messages in the past). what does all of this mean? Is there a way for me to aleviate this problem from my computer?

    I was told to do just what you'd said in this previous post, but it didn't quite work for me...is there anything that can be done?

     

    ===============================

  • Re: Error message: Could not load file or assembly 'System.EnterpriseServices.......

    07-17-2008, 1:37 PM
    • Loading...
    • 1bigorca
    • Joined on 07-09-2007, 8:18 AM
    • Posts 11

    I see this item was posted 2 years ago or more. Hopefully a reply can be still given.

     I am having the same problem with this stupid System.EnterpriseServices.dll just like the other person did. And just like him I too did nothing to bring this albatross into my application other than maybe install a service pak or other upgrade.

     I attempted to resolve my problem as you instructed above but when i tried the file was rejected from being copied listing the error below:

     "System.EnterpriseServices.dll - cannot find the specified file"

     I had it in my bin file and the application was operating fine until I tried to open the ASP.NET Configuration utility. When the System.EnterpriseServices.dll was in the bin file and I tried to use the Config Utility I get the error below:

    "Server Error in '/asp.netwebadminfiles' Application."

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

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

    Source Error:

    Line 50:         <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
    Line 51:         <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    Line 52:         <add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    Line 53:         <add assembly="System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    Line 54:         <add assembly="*"/>


    Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config    Line: 52

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.

    What to do?

     

    Philip

Page 1 of 1 (5 items)
Microsoft Communities
Page view counter