0 Replies Latest reply on Jan 7, 2015 5:16 PM by Imtiaz Sattar

    .NET HotRod Client issue running on Windows Server

    Imtiaz Sattar Newbie

      Trying to play with .NET hotrod client... I am able to run the sample code on my local Windows7 64-bit platform running basic operations on Infinispan. Once I move the binary to Windows Server 2008 I am getting following error. I did install the hotrod client using MSI install file. Also verified the path has the reference to the DLL's and copied the DLL's to the exe folder but no luck. Feels like I am missing something basic here... any help would be appreciated... following is the error log..

       

      Unhandled Exception: System.TypeInitializationException: The type initializer for 'Infinispan.HotRod.SWIG64.hotrodcsPINVOKE' threw an exception. ---> System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'hotrod_wrap64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

         at Infinispan.HotRod.SWIG64.hotrodcsPINVOKE.SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_hotrodcs(ExceptionDelegate applicationDelegate, ExceptionDelegate arithmeticDelegate, ExceptionDelegate divideByZeroDelegate, ExceptionDelegat

      e indexOutOfRangeDelegate, ExceptionDelegate invalidCastDelegate, ExceptionDelegate invalidOperationDelegate, ExceptionDelegate ioDelegate, ExceptionDelegate nullReferenceDelegate, ExceptionDelegate outOfMemoryDelegate, ExceptionDelegate ov

      erflowDelegate, ExceptionDelegate systemExceptionDelegate)   at Infinispan.HotRod.SWIG64.hotrodcsPINVOKE.SWIGExceptionHelper..cctor()

         --- End of inner exception stack trace ---

         at Infinispan.HotRod.SWIG64.hotrodcsPINVOKE.SWIGExceptionHelper..ctor()

         at Infinispan.HotRod.SWIG64.hotrodcsPINVOKE..cctor()

         --- End of inner exception stack trace ---

         at Infinispan.HotRod.SWIG64.hotrodcsPINVOKE.new_ConfigurationBuilder()

         at Infinispan.HotRod.SWIG64.ConfigurationBuilder..ctor()

         at Infinispan.HotRod.Config.ConfigurationBuilder..ctor()