3 Replies Latest reply on Sep 11, 2013 4:16 PM by SrikanthGutha

    Unable to find assembly 'Coherence.dll' from .Net client application


      Hi everyone,


      I am using Oracle Coherence for caching in my application. My client is a .Net application and Coherence server is on Linux box. I use coherence.dll assembly at client side to establish the connection to Coherence box. Everything works fine in lower environments but it is not working on Production. I get "Unable to find assembly Coherence.dll" error on Production despite the assembly has been copied to bin folder. It is killing the IIS app pool every time when it tries to locate the assembly and it is not found then it kills the app pool.


      Any idea why it complains assembly is not found? Could someone help me with this issue?


      Thanks in advance!



      The exact error message is -


      An unhandled exception occurred and the process was terminated.                                         


      Application ID: DefaultDomain                       


      Process ID: 22020                                   





      Message: Unable to find assembly 'Coherence,

      Version=, Culture=neutral,                   



      StackTrace:    at System.Runtime.Serialization.Format


      at System.Runtime.Serialization.Formatters.Binary.


      assemblyInfo, String name)                          

      at System.Runtime.Serialization.Formatters.Binary.

      ObjectMap..ctor(String objectName, String[]         

      memberNames, BinaryTypeEnum[] binaryTypeEnumA,      

      Object[] typeInformationA, Int32[] memberAssemIds,  

      ObjectReader objectReader, Int32 objectId,          

      BinaryAssemblyInfo assemblyInfo, SizedArray         


      at System.Runtime.Serialization.Formatters.Binary.


      hMapTyped record)                                   

      at System.Runtime.Serialization.Formatters.Binary.


      m binaryHeaderEnum)                                 

      at System.Runtime.Serialization.Formatters.Binary.


      at System.Runtime.Serialization.Formatters.Binary.

      ObjectReader.Deserialize(HeaderHandler handler,     

      __BinaryParser serParser, Boolean fCheck, Boolean   

                                                                        isCrossAppDomain, IMethodCallMessage                


                                                                           at System.Runtime.Serialization.Formatters.Binary.


      serializationStream, HeaderHandler handler, Boolean 

      fCheck, Boolean isCrossAppDomain, IMethodCallMessage


      at System.Runtime.Remoting.Channels.CrossAppDomain

      Serializer.DeserializeObject(MemoryStream stm)      

      at System.AppDomain.Deserialize(Byte[] blob)     

      at System.AppDomain.UnmarshalObject(Byte[] blob)