XSP4로 MonoDevelop 4.2를 실행할 수 없습니다

XSP4로 MonoDevelop 4.2를 실행할 수 없습니다

남자용 화장실,

저는 Linux를 처음 사용하고 MonoDevelop ASP.NET 앱에서 샘플 디버깅을 시작할 때 Ubuntu에서 .NET을 시작하려고 하면 다음 오류가 발생합니다.

Could not launch web server. The "XSP4" web server cannot be started.

xsp4를 실행할 때 tty에서 다음을 제공합니다.

Missing method
System.Configuration.IConfigurationSectionHandler::Create(object,object,XmlNode)
in assembly /usr/lib/mono/4.0/System.dll, referenced in assembly
/usr/lib/mono/4.0/System.Configuration.dll Exception caught during
reading the configuration file: System.MissingMethodException: Method
not found: 'System.Configuration.IConfigurationSectionHandler.Create'.
at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection
(System.String configKey) [0x00000] in <filename unknown>:0    at
System.Configuration.ConfigurationManager.GetSection (System.String
sectionName) [0x00000] in <filename unknown>:0    at
System.Configuration.ConfigurationManager.get_AppSettings () [0x00000]
in <filename unknown>:0    at
Mono.WebServer.XSP.Server.get_AppSettings () [0x00000] in <filename
unknown>:0    at Mono.WebServer.XSP.Server+ApplicationSettings..ctor
() [0x00000] in <filename unknown>:0  xsp4 Listening on address:
0.0.0.0 Root directory: /home/tarik/Documents/Courses/Mono/ASP.NET/FirstApp Error:
System.TypeInitializationException: An exception was thrown by the
type initializer for System.Net.Sockets.Socket --->
System.InvalidCastException: Cannot cast from source type to
destination type.   at System.Net.Sockets.Socket.CheckProtocolSupport
() [0x00000] in <filename unknown>:0    at
System.Net.Sockets.Socket..cctor () [0x00000] in <filename unknown>:0 
--- End of inner exception stack trace ---   at Mono.WebServer.XSPWebSource.CreateSocket () [0x00000] in <filename
unknown>:0    at Mono.WebServer.ApplicationServer.Start (Boolean
bgThread) [0x00000] in <filename unknown>:0    at
Mono.WebServer.ApplicationServer.Start (Boolean bgThread,
System.Exception initialException) [0x00000] in <filename unknown>:0  
at (wrapper remoting-invoke-with-check)
Mono.WebServer.ApplicationServer:Start (bool,System.Exception)   at
Mono.WebServer.XSP.Server.RealMain (System.String[] args, Boolean
root, IApplicationHost ext_apphost, Boolean quiet) [0x00000] in
<filename unknown>:0

답변1

때때로 "mono-complete"를 설치하면 일부 오류가 해결될 수 있습니다. 아직 설치하지 않았다면 시도해 보세요.

관련 정보