changing "Enable 32-bit application" solved that problem.
But, now I am getting the following error "The type initializer for 'ININ.IceLib.Connection.Session' threw an exception."
It is working on my local machine but it is not working when I publish to my IIS server. When publishing, what dll should I publish to the servers?
Here is the inner exception
"System.TypeInitializationException: The type initializer for 'ININ.IceLib.Internal.TraceTopics' threw an exception. ---> System.TypeInitializationException: The type initializer for 'i3trace_dotnet_tracing_interopPINVOKE' threw an exception. ---> System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'i3trace_dotnet_tracing_interop-w32r-17-4': The specified module could not be found. (Exception from HRESULT: 0x8007007E)\r\n at i3trace_dotnet_tracing_interopPINVOKE.SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_i3trace_dotnet_tracing_interop(ExceptionDelegate applicationDelegate, ExceptionDelegate arithmeticDelegate, ExceptionDelegate divideByZeroDelegate, ExceptionDelegate indexOutOfRangeDelegate, ExceptionDelegate invalidCastDelegate, ExceptionDelegate invalidOperationDelegate, ExceptionDelegate ioDelegate, ExceptionDelegate nullReferenceDelegate, ExceptionDelegate outOfMemoryDelegate, ExceptionDelegate overflowDelegate, ExceptionDelegate systemExceptionDelegate)\r\n at i3trace_dotnet_tracing_interopPINVOKE.SWIGExceptionHelper..cctor()\r\n --- End of inner exception stack trace ---\r\n at i3trace_dotnet_tracing_interopPINVOKE.SWIGExceptionHelper..ctor()\r\n at i3trace_dotnet_tracing_interopPINVOKE..cctor()\r\n --- End of inner exception stack trace ---\r\n at i3trace_dotnet_tracing_interopPINVOKE.initialize_default_sinks__SWIG_1()\r\n at i3trace_dotnet_tracing_interop.initialize_default_sinks()\r\n at ININ.IceLib.Internal.TraceTopics.Init()\r\n at ININ.IceLib.Internal.TraceTopics..cctor()\r\n --- End of inner exception stack trace ---\r\n at ININ.IceLib.Connection.Session.TraceNetworkAvailability()\r\n at ININ.IceLib.Connection.Session..cctor()"
Here is a list of the dll that are currently published to my server.
[ATTACH]892[/ATTACH]