Hello,
i have hosting MVC 4 application on Linux. i have try with simple one page application then its work's
fine but when i add System.Net.Http DLL reference to my application then i get below exception.
System.InvalidProgramException
Invalid IL code in System.Net.Http.Headers.MediaTypeHeaderValue:.ctor (string): method body is empty.
Description: HTTP 500.Error processing request.
Details: Non-web exception. Exception origin (name of application or object): System.Net.Http.Formatting.
Exception stack trace:
at System.Net.Http.Formatting.MediaTypeConstants..cctor () [0x00000] in <filename unknown>:0
Version Information: 3.2.3 ((no/8d3b4b7 Tue Sep 23 14:47:41 IST 2014); ASP.NET Version: 4.0.30319.17020
My Server Details is as per below :
Linux server : Debian
Mono Version : 3.2.3
XSP : XSP 4
Thanks in advance.
Go to the complete details ...