Mono - Error al compilar solución asp.net en mono sobre openSUSE.

 
Vista:
sin imagen de perfil

Error al compilar solución asp.net en mono sobre openSUSE.

Publicado por Ramón Francisco (2 intervenciones) el 11/09/2013 02:23:11
Buenas tardes...

Estoy tratando de aprender a programar asp.net usando Monodevelop y Xsp para ejecutar mis programas, pero mi primera solución de Hola Mundo no corre ya que al presionar la opción [Start Debugging (F5)] me vota un error que dice [Could not launch web server. The "xps4" web server cannot be started. Please ensure that is installed.]

Me puse a investigar más a fondo y observé que si corro la instrucción [xsp] en la consola, me sale lo siguiente:


xsp2
Listening on address: 0.0.0.0
Root directory: /usr/lib/mono/gac
Listening on port: 8080 (non-secure)
Hit Return to stop the server.

Si uso la instrucción [xsp2] me sale lo mismo, pero si pongo la instrucción [xsp4], me sale lo siguiente:

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: /usr/lib/mono/gac
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

La verdad estoy muy interesado en esto pero ya perdí la paciencia :S

Datos adicionales:


mono --version
Mono JIT compiler version 3.0.4 (tarball Thu Mar 7 10:40:07 UTC 2013)
Copyright (C) 2002-2012 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: Included Boehm (with typed GC and Parallel Mark)


Distribución Linux:
openSUSE 12.3

Saludos.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
sin imagen de perfil

Error al compilar solución asp.net en mono sobre openSUSE.

Publicado por Ramón Francisco (2 intervenciones) el 12/09/2013 01:32:10
ssshhhta loco... y eso que es la web del programador!!
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
-1
Comentar