3 Replies Latest reply: Sep 11, 2013 11:16 AM by SrikanthGutha RSS

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

    SrikanthGutha

      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!

      Srikanth

       

      The exact error message is -

       

      An unhandled exception occurred and the process was terminated.                                         

       

      Application ID: DefaultDomain                       

       

      Process ID: 22020                                   

       

      Exception:                                          

      System.Runtime.Serialization.SerializationException 

       

      Message: Unable to find assembly 'Coherence,

      Version=3.7.1.0, Culture=neutral,                   

      PublicKeyToken=0ada89708fdf1f9a'.                   

       

      StackTrace:    at System.Runtime.Serialization.Format

      ters.Binary.BinaryAssemblyInfo.GetAssembly()        

      at System.Runtime.Serialization.Formatters.Binary.

      ObjectReader.GetType(BinaryAssemblyInfo             

      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         

      assemIdToAssemblyTable)                             

      at System.Runtime.Serialization.Formatters.Binary.

                                                                        __BinaryParser.ReadObjectWithMapTyped(BinaryObjectWit

      hMapTyped record)                                   

      at System.Runtime.Serialization.Formatters.Binary.

      __BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnu

      m binaryHeaderEnum)                                 

      at System.Runtime.Serialization.Formatters.Binary.

      __BinaryParser.Run()                                

      at System.Runtime.Serialization.Formatters.Binary.

      ObjectReader.Deserialize(HeaderHandler handler,     

      __BinaryParser serParser, Boolean fCheck, Boolean   

                                                                        isCrossAppDomain, IMethodCallMessage                

      methodCallMessage)                                  

                                                                           at System.Runtime.Serialization.Formatters.Binary.

      BinaryFormatter.Deserialize(Stream                  

      serializationStream, HeaderHandler handler, Boolean 

      fCheck, Boolean isCrossAppDomain, IMethodCallMessage

      methodCallMessage)                                  

      at System.Runtime.Remoting.Channels.CrossAppDomain

      Serializer.DeserializeObject(MemoryStream stm)      

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

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