2 Replies Latest reply: Mar 30, 2012 4:26 PM by P Fry RSS

    Is Coherence 3.7.1.0 compatible with .NET framework 4.0 ?

    Dasun.Weerasinghe
      Hi,

      Is Coherence 3.7.1.0 compatible with .NET framework 4.0?

      The client guide for Coherence 3.7.1.0 states the following ;
      “The following are required to use Coherence for .NET:
      - Microsoft .NET 2.0, 3.0, or 3.5 run time
      - Microsoft .NET 2.0, 3.0, or 3.5 SDK
      - Supported Microsoft Windows operating system (see the system requirements for the appropriate .NET run time above)
      - MSHelp 2.x run time, which is included in Visual Studio 200x and the Microsoft products listed here:
      http://www.helpware.net/mshelp2/h20.htm#MS_H2_Runtime
      - Microsoft Visual Studio 2005 is required to build and run the examples included with Coherence for .NET:”

      However we can see the following exception in our client side logs if only .NET framework 4 is installed;
      2011-11-29 12:09:38.092 level(thread=ExtendTcpCacheServiceCSharp:TcpInitiator:Tangosol.Util.Daemon.QueueProcessor.Service.Service+EventDispatcher): The following exception was caught by the event dispatcher:
      2011-11-29 12:09:38.092 level(thread=ExtendTcpCacheServiceCSharp:TcpInitiator:Tangosol.Util.Daemon.QueueProcessor.Service.Service+EventDispatcher):
      System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. File name: 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
      at Tangosol.Util.Listeners.Union(ICacheListener[] listeners1, ICacheListener[] listeners2)
      at Tangosol.Util.Listeners.AddAll(Listeners listeners)
      at Tangosol.Net.Cache.Support.CacheListenerSupport.CollectListeners(CacheEventArgs cacheEvent)
      at Tangosol.Net.Cache.Support.CacheListenerSupport.CollectListeners(CacheEventArgs cacheEvent)
      at Tangosol.Net.Cache.Support.CacheListenerSupport.FireEvent(CacheEventArgs evt, Boolean isStrict)
      at Tangosol.Net.Impl.SafeNamedCache.TranslateCacheEvent(CacheEventArgs evt)
      at Tangosol.Net.Impl.SafeNamedCache.EntryUpdated(CacheEventArgs evt)
      at Tangosol.Net.Cache.Support.CacheListenerSupport.Dispatch(CacheEventArgs evt, ICacheListener listener)
      at Tangosol.Net.Impl.RemoteNamedCache.ConverterListener.Dispatch(CacheEventArgs evt)
      at Tangosol.Net.Impl.RemoteNamedCache.ConverterListener.EntryUpdated(CacheEventArgs evt)
      at Tangosol.Net.Cache.Support.CacheListenerSupport.Dispatch(CacheEventArgs evt, ICacheListener listener
      at Tangosol.Net.Cache.Support.RunnableCacheEvent.Run()
      at Tangosol.Util.Daemon.QueueProcessor.Service.Service.EventDispatcher.OnNotify()

      If we then install .NET 3.5 the issue is resolved.

      Any idea ?

      reg

      Dasun