Could not load file or assembly 'Microsoft.Practices.ServiceLocation.resources, Version=, Culture=en-US


  • MY WCF service is built on .net framework 4.0 and uses some of the references from Enterprise library. I have two machines. in one machine this Services running fine. and one of the machine shows following exception continuously. Both machine has same regional and culture settings.

     <LogMessage>System.ServiceModel.FaultException: Could not load file or assembly 'Microsoft.Practices.ServiceLocation.resources, Version=, Culture=en-US, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.


    Not sure why on this machine it tries to load this binary in en-us culture instead of neutral.

    Any help suggestion would be appreciated.




    • Moved by Leo Liu - MSFT Friday, August 19, 2011 6:07 AM Off-Topic (From:Visual C# General)
    Friday, August 12, 2011 10:46 AM

All replies