[Mono-aspnet-list] HttpSelfHostConfiguration Error
thvenket at gmail.com
thvenket at gmail.com
Wed Jan 6 06:47:17 UTC 2016
So is this alias active? Seems like there is no activity or is there another mono alias?
Sent from Windows Mail
From: thvenket at gmail.com
Sent: Sunday, January 3, 2016 10:28 PM
To: mono-aspnet-list at lists.ximian.com
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: thvenket at gmail.com
Sent: Sunday, January 3, 2016 10:25 PM
To: mono-aspnet-list at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20160106/75be1ce0/attachment.html>
More information about the Mono-aspnet-list
mailing list