Hi,
I'm trying to initialize the 2.5.1.2 Gemfire Native Client in a .NET 4.0 x86 application. It works fine on a Windows Server 2003 32-bit machine but throws the below errors on a Windows Server 2008 64-bit machine and the application crashes afterwards.
However, it works fine on the Win2008 64-bit machine if the application is built as .NET 2.0 AnyCPU.
I've tried all the routine tricks using the CorFlags utility but no luck so far.
Any idea what else could be wrong with it?
Any help is greatly appreciated.
Thanks & regards,
RS
Exception log excerpts
...
System.BadImageFormatException: Could not load file or assembly 'GemStone.GemFire.Cache.dll' or one of its dependencies. Invalid access to memory location. (Exception from HRESULT: 0x800703E6)
File name: 'GemStone.GemFire.Cache.dll'
...
[config 2013/06/14 13:12:49.622000 W. Europe Daylight Time :10348 1392] The following features are enabled:
csharp-feature is enabled
native-client-feature is enabled
[error 2013/06/14 13:12:49.622000 W. Europe Daylight Time :10348 9400] FATALException: Debug event[STATUS_ACCESS_VIOLATION] occurred at 090F6FB0 in proccess with pid 10348
[error 2013/06/14 13:12:49.637000 W. Europe Daylight Time :10348 10732] FATALException: Debug event[STATUS_ACCESS_VIOLATION] occurred at 090F6FB0 in proccess with pid 10348
??0TraceCurrentLocation@@QAE@PAVLineTracer@@HK@Z
??1?$LRUListEntry@VMapEntry@gemfire@@@gemfire@@UAE@XZ
[error 2013/06/14 13:12:49.637000 W. Europe Daylight Time :10348 9400] Generating crash dump in file D:\<Path>/gemfire_cpp-1371208369-10348.dmp
??0TraceCurrentLocation@@QAE@PAVLineTracer@@HK@Z
??1?$LRUListEntry@VMapEntry@gemfire@@@gemfire@@UAE@XZ
[error 2013/06/14 13:12:49.653000 W. Europe Daylight Time :10348 10732] Failed to open file for crash dump: D:\<Path>/gemfire_cpp-1371208369-10348.dmp