我最近将opensuse机器从12.2升级到Leap 42.1 (x86_64)。基本上进展得很顺利。但是,我通过yast (KDE)安装了mono和xsp,我发现xsp和4都不太好。
如果我向这些模块(mono、xsp和mono-server4 4)询问它们的版本号,我将得到以下内容:-
#mono -V
Mono JIT compiler version 4.0.4 (Stable 4.0.4.1/5ab4c0d Sun Oct 25 12:51:49 UTC 2015)
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
#xsp -V
Exception caught during reading the configuration file:
System.InvalidProgramException: Invalid IL code in System.Configuration.ConfigurationManager:get_AppSettings (): IL_0000: ret
at Mono.WebServer.XSP.Server.get_AppSettings () [0x00000] in <filename unknown>:0
at Mono.WebServer.XSP.Server+ApplicationSettings..ctor () [0x00000] in <filename unknown>:0
XSP server is a sample server that hosts the ASP.NET runtime in a
minimalistic HTTP server
#fastcgi-mono-server --version
Unhandled Exception:
System.InvalidProgramException: Invalid IL code in System.Xml.XmlDocument:GetElementsByTagName (string): IL_0000: ret
at Mono.WebServer.ConfigurationManager.ImportSettings (System.Xml.XmlDocument doc, System.Collections.Specialized.NameValueCollection collection, Boolean allowDuplicates, Boolean insertEmptyValue) [0x00000] in <filename unknown>:0
at Mono.WebServer.ConfigurationManager..ctor (System.Reflection.Assembly asm, System.String resource) [0x00000] in <filename unknown>:0
at Mono.WebServer.FastCgi.Server.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidProgramException: Invalid IL code in System.Xml.XmlDocument:GetElementsByTagName (string): IL_0000: ret
at Mono.WebServer.ConfigurationManager.ImportSettings (System.Xml.XmlDocument doc, System.Collections.Specialized.NameValueCollection collection, Boolean allowDuplicates, Boolean insertEmptyValue) [0x00000] in <filename unknown>:0
at Mono.WebServer.ConfigurationManager..ctor (System.Reflection.Assembly asm, System.String resource) [0x00000] in <filename unknown>:0
at Mono.WebServer.FastCgi.Server.Main (System.String[] args) [0x00000] in <filename unknown>:0我注意到是amd64,在这里我期待着x86_64。
当然,xsp和complain mono 4都抱怨未处理的异常。
有人知道我能做些什么来解决这个问题吗?
提前感谢
彼得
发布于 2016-06-03 07:22:39
我重新讨论了这个问题。
我通过yast & zypper安装了xsp几次,没有改进。最后,我尝试直接从
https://software.opensuse.org/package/xsp
这使得我的标准变得不同了--快速the mono 4不再抱怨未处理的异常。然而,xsp仍然这样做。但考虑到我并不真的想要xsp,我并不担心。
我的nginx <>快速单服务器4 <> asp.net web服务器正在工作!
现在用它做些聪明的事..。
https://serverfault.com/questions/780669
复制相似问题