An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) The type initializer for 'Trinity.Global' threw an exception.
I fixed this to change setting Tool-Option -- Project and solution-- Web Projects--checked checkbox use the 64 bit version of IIS Express for web site and project enter code here
And able to Trininty Dll integrate with my WebAPI (Odata) application
User contributions licensed under CC BY-SA 3.0