[Mono-aspnet-list] XSP crash on config file with ASP.Net MVC 3 project

miniBill cmt.minibill at gmail.com
Wed Oct 9 12:24:09 UTC 2013


xsp 3.2... doesn't exist! And by that I mean that the latest tag in the
xsp's git repository is 3.0.11.
So... can you find out what is actually the true version?


2013/10/9 Arnaud M <hokkos at gmail.com>

> Hi,
> I am trying to use mono+xsp for a ASP.Net MVC 3 project.
> I am on CentOS 6.4 with the mono package found here :
>
> http://software.opensuse.org/download/package?project=home:tpokorra:mono&package=mono-opt
>
> http://software.opensuse.org/download/package?project=home:tpokorra:mono&package=monodevelop-opt
> So it is mono 3.2.3 with XSP 3.2 and mono developp 4.0.12.
>
> Here is the output when I start the project in MonoDevelop with xsp in
> verbose mode :
>
> Loaded assembly:
> /opt/mono/lib/mono/gac/xsp4/3.0.0.0__0738eb9f132ed756/xsp4.exe [External]
> Loaded assembly:
> /opt/mono/lib/mono/gac/Mono.WebServer2/0.4.0.0__0738eb9f132ed756/Mono.WebServer2.dll
> [External]
> Loaded assembly:
> /opt/mono/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll
> [External]
> Loaded assembly:
> /opt/mono/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll
> [External]
> Loaded assembly:
> /opt/mono/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
> [External]
> Loaded assembly:
> /opt/mono/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
> [External]
> Loaded assembly:
> /opt/mono/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll
> [External]
> Adding applications '/:.'...
> Registering application:
>     Host:          any
>     Port:          any
>     Virtual path:  /
>     Physical path: /var/lib/jenkins/jobs/Aseco/workspace/Code/ASECO/ASECO/
> Loaded assembly:
> /opt/mono/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll
> [External]
> Loaded assembly:
> /var/lib/jenkins/jobs/Aseco/workspace/Code/ASECO/ASECO/bin/Mono.Security.dll
> [External]
> Loaded assembly: __MetadataTypes [External]
> Loaded assembly: __MetadataTypes [External]
> Loaded assembly:
> /var/lib/jenkins/jobs/Aseco/workspace/Code/ASECO/ASECO/bin/System.Web.dll
> [External]
> Loaded assembly:
> /var/lib/jenkins/jobs/Aseco/workspace/Code/ASECO/ASECO/bin/System.Configuration.dll
> [External]
> Loaded assembly:
> /var/lib/jenkins/jobs/Aseco/workspace/Code/ASECO/ASECO/bin/System.Core.dll
> [External]
> Loaded assembly:
> /var/lib/jenkins/jobs/Aseco/workspace/Code/ASECO/ASECO/bin/System.dll
> [External]
> Loaded assembly:
> /var/lib/jenkins/jobs/Aseco/workspace/Code/ASECO/ASECO/bin/System.Xml.dll
> [External]
> Loaded assembly:
> /var/lib/jenkins/jobs/Aseco/workspace/Code/ASECO/ASECO/bin/Mono.Web.dll
> [External]
> 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) [0x0000d] in
> /home/abuild/rpmbuild/BUILD/mono-3.2.3/mcs/class/System.Configuration/System.Configuration/ClientConfigurationSystem.cs:62
>
>   at System.Configuration.ConfigurationManager.GetSection (System.String
> sectionName) [0x00000] in
> /home/abuild/rpmbuild/BUILD/mono-3.2.3/mcs/class/System.Configuration/System.Configuration/ConfigurationManager.cs:162
>
>   at System.Configuration.ConfigurationManager.get_AppSettings ()
> [0x00000] in
> /home/abuild/rpmbuild/BUILD/mono-3.2.3/mcs/class/System.Configuration/System.Configuration/ConfigurationManager.cs:176
>
>   at Mono.WebServer.XSP.Server.get_AppSettings () [0x00001] in
> /home/abuild/rpmbuild/BUILD/xsp-1368532016/src/Mono.WebServer.XSP/main.cs:244
>
>   at Mono.WebServer.XSP.Server+ApplicationSettings..ctor () [0x0002b] in
> /home/abuild/rpmbuild/BUILD/xsp-1368532016/src/Mono.WebServer.XSP/main.cs:65
>
> xsp4
> Listening on address: 127.0.0.1
> Root directory: /var/lib/jenkins/jobs/Aseco/workspace/Code/ASECO/ASECO
> Listening on port: 8096 (non-secure)
> Thread started:  #2
> Thread started: <Thread Pool> #3
> Thread started: <Thread Pool> #4
> Thread started: <Thread Pool> #5
> Thread started: <Thread Pool> #6
> System.TypeInitializationException: An exception was thrown by the type
> initializer for Mono.WebServer.XSPWorkerRequest --->
> System.MissingMethodException: Method not found:
> 'System.Configuration.ConfigurationManager.get_AppSettings'.
>   --- End of inner exception stack trace ---
>   at Mono.WebServer.XSPApplicationHost.ProcessRequest (Int32 reqId,
> System.Net.IPEndPoint localEP, System.Net.IPEndPoint remoteEP,
> System.String verb, System.String path, System.String queryString,
> System.String protocol, System.Byte[] inputBuffer, System.String redirect,
> IntPtr socket, Mono.WebServer.SslInformation ssl) [0x00028] in
> /home/abuild/rpmbuild/BUILD/xsp-1368532016/src/Mono.WebServer.XSP/XSPApplicationHost.cs:70
>
>   at (wrapper remoting-invoke-with-check)
> Mono.WebServer.XSPApplicationHost:ProcessRequest
> (int,System.Net.IPEndPoint,System.Net.IPEndPoint,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformation)
>   at Mono.WebServer.XSPWorker.RunInternal (System.Object state) [0x0014f]
> in
> /home/abuild/rpmbuild/BUILD/xsp-1368532016/src/Mono.WebServer.XSP/XSPWorker.cs:193
>
>
> There seems to have an exception here ClientConfigurationSystem.cs L62<https://github.com/mono/mono/blob/master/mcs/class/System.Configuration/System.Configuration/ClientConfigurationSystem.cs?source=cc#L62>when calling an object implementing the interface IInternalConfigSystem in
> the method GetSection(System.String configKey) when calling a method Create
> of an object supposed to implementing the IConfigurationSectionHandler
> interface but didn't.
>
> Has anyone run into the same problem ?
>
> Thanks.
>
>
>
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20131009/00b1d3aa/attachment.html>


More information about the Mono-aspnet-list mailing list