Following is my mono version

Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1.1)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. 
www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen







Sent from Windows Mail





From: thven...@gmail.com
Sent: ‎Sunday‎, ‎January‎ ‎3‎, ‎2016 ‎10‎:‎25‎ ‎PM
To: mono-aspnet-list@lists.ximian.com





Hi,




I am getting the following error when I run my standalone process. I compiled 
the binaries using Visual studio 2015. Can someone please help? I see on the 
internet that others have hit this issue as well but no solution ..




Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type 
initializer for System.Net.Http.Formatting.MediaTypeConstants ---> 
System.InvalidProgramException: Invalid IL code in 
System.Net.Http.Headers.MediaTypeHeaderValue:.ctor (string): method body is 
empty.




  at System.Net.Http.Formatting.MediaTypeConstants..cctor () [0x00000] in 
<filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Net.Http.Formatting.JsonMediaTypeFormatter..ctor () [0x00000] in 
<filename unknown>:0
  at 
System.Net.Http.Formatting.MediaTypeFormatterCollection.CreateDefaultFormatters 
() [0x00000] in <filename unknown>:0
  at System.Net.Http.Formatting.MediaTypeFormatterCollection..ctor () [0x00000] 
in <filename unknown>:0
  at System.Web.Http.HttpConfiguration.DefaultFormatters () [0x00000] in 
<filename unknown>:0
  at System.Web.Http.HttpConfiguration..ctor 
(System.Web.Http.HttpRouteCollection routes) [0x00000] in <filename unknown>:0
  at System.Web.Http.SelfHost.HttpSelfHostConfiguration..ctor (System.Uri 
baseAddress) [0x00000] in <filename unknown>:0
  at System.Web.Http.SelfHost.HttpSelfHostConfiguration..ctor (System.String 
baseAddress) [0x00000] in <filename unknown>:0
  at ContainerManagement.Discovery.DiscoveryService.StartDiscovery () [0x00000] 
in <filename unknown>:0
  at ContainerManagement.Discovery.DiscoveryService.Start () [0x00000] in 
<filename unknown>:0
  at (wrapper remoting-invoke-with-check) 
ContainerManagement.Discovery.DiscoveryService:Start ()
  at ContainerManagement.Discovery.Program.Main (System.String[] args) 
[0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An 
exception was thrown by the type initializer for 
System.Net.Http.Formatting.MediaTypeConstants ---> 
System.InvalidProgramException: Invalid IL code in 
System.Net.Http.Headers.MediaTypeHeaderValue:.ctor (string): method body is 
empty.




  at System.Net.Http.Formatting.MediaTypeConstants..cctor () [0x00000] in 
<filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Net.Http.Formatting.JsonMediaTypeFormatter..ctor () [0x00000] in 
<filename unknown>:0
  at 
System.Net.Http.Formatting.MediaTypeFormatterCollection.CreateDefaultFormatters 
() [0x00000] in <filename unknown>:0
  at System.Net.Http.Formatting.MediaTypeFormatterCollection..ctor () [0x00000] 
in <filename unknown>:0
  at System.Web.Http.HttpConfiguration.DefaultFormatters () [0x00000] in 
<filename unknown>:0
  at System.Web.Http.HttpConfiguration..ctor 
(System.Web.Http.HttpRouteCollection routes) [0x00000] in <filename unknown>:0
  at System.Web.Http.SelfHost.HttpSelfHostConfiguration..ctor (System.Uri 
baseAddress) [0x00000] in <filename unknown>:0
  at System.Web.Http.SelfHost.HttpSelfHostConfiguration..ctor (System.String 
baseAddress) [0x00000] in <filename unknown>:0
  at ContainerManagement.Discovery.DiscoveryService.StartDiscovery () [0x00000] 
in <filename unknown>:0
  at ContainerManagement.Discovery.DiscoveryService.Start () [0x00000] in 
<filename unknown>:0
  at (wrapper remoting-invoke-with-check) 
ContainerManagement.Discovery.DiscoveryService:Start ()
  at ContainerManagement.Discovery.Program.Main (System.String[] args) 
[0x00000] in <filename unknown>:0







Sent from Windows Mail
_______________________________________________
Mono-aspnet-list mailing list
Mono-aspnet-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list

Reply via email to