[Mono-aspnet-list] mod-mono-server4 not working with 2.11.3

David Schmitt david at dasz.at
Sun Sep 2 09:03:03 UTC 2012


On 2012-09-01 10:13, cfi wrote:
> Hi,
>
> It somehow did cut out the <raw></raw> block from the mailing list - it
> shows up to me when opening it in the browser, but here again:
>
> Worker initialization exception occurred. Continuing anyway:
> System.MissingMethodException: Method not found:'System.Configuration.IConfigurationSectionHandler.Create'.

I'm no asp.net guru, but this exception looks like someone is trying to 
use a not-implemented part of the API. When you're already at compiling 
mono, it might make sense starting to look around for this function here:

>    at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in<filename unknown>:0

and checkout what is used here and fix that.

A distinct possibility might be a custom configuration section, that 
needs to be adapted and recompiled for a new API.


Godd hunting, D.

>    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.ModMonoWorkerRequest..cctor () [0x00034] in /root/mono/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs:85
> System.NullReferenceException: Object reference not set to an instance of an object
>    at Mono.WebServer.BaseApplicationHost.EndOfRequest (Mono.WebServer.MonoWorkerRequest mwr) [0x00029] in /root/mono/xsp-2.10.2/src/Mono.WebServer/BaseApplicationHost.cs:141
>    at Mono.WebServer.ModMonoApplicationHost.ProcessRequest (Int32 reqId, System.String verb, System.String queryString, System.String path, System.String protocol, System.String localAddress, Int32 serverPort, System.String remoteAddress, Int32 remotePort, System.String remoteName, System.String[] headers, System.String[] headerValues, System.Object worker) [0x00173] in /root/mono/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoApplicationHost.cs:109
>    at (wrapper remoting-invoke-with-check) Mono.WebServer.ModMonoApplicationHost:ProcessRequest (int,string,string,string,string,string,int,string,int,string,string[],string[],object)
>    at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00199] in /root/mono/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoWorker.cs:239
>    at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00002] in /root/mono/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoWorker.cs:92
> [Fri Aug 31 15:37:00 2012] [error] (70014)End of file found: read_data failed
> [Fri Aug 31 15:37:00 2012] [error] Command stream corrupted, last command was -1
> System.NullReferenceException: Object reference not set to an instance of an object
>    at Mono.WebServer.BaseApplicationHost.EndOfRequest (Mono.WebServer.MonoWorkerRequest mwr) [0x00029] in /root/mono/xsp-2.10.2/src/Mono.WebServer/BaseApplicationHost.cs:141
>    at Mono.WebServer.ModMonoApplicationHost.ProcessRequest (Int32 reqId, System.String verb, System.String queryString, System.String path, System.String protocol, System.String localAddress, Int32 serverPort, System.String remoteAddress, Int32 remotePort, System.String remoteName, System.String[] headers, System.String[] headerValues, System.Object worker) [0x00173] in /root/mono/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoApplicationHost.cs:109
>    at (wrapper remoting-invoke-with-check) Mono.WebServer.ModMonoApplicationHost:ProcessRequest (int,string,string,string,string,string,int,string,int,string,string[],string[],object)
>    at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00199] in /root/mono/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoWorker.cs:239
>    at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00002] in /root/mono/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoWorker.cs:92
> [Fri Aug 31 15:37:00 2012] [error] (70014)End of file found: read_data failed
> [Fri Aug 31 15:37:00 2012] [error] Command stream corrupted, last command was -1
>
>
> regards
> Christoph
>
> On Fri, Aug 31, 2012 at 11:37 PM, David Schmitt [via Mono] <[hidden
> email] </user/SendEmail.jtp?type=node&node=4656469&i=0>> wrote:
>
>     On 2012-08-31 15:44, cfi wrote:
>
>      > Hi,
>      >
>      > I just compiled and installed Mono 2.11.3 (and XSP 2.10.2 and
>     mod_mono 2.10
>      > as there are not 2.11) on my CentOS 5.6.
>      > I still have Mono 2.10.8 in parallel, where everything works fine.
>      > For 2.11.3 mod-mono-server2 also works fine, but when I use
>     mod-mono-server4
>      > I only get a 500 Error and following in the log:
>      >
>      >
>      > How can I solve this problem?
>     You haven't pasted the log. That makes diagnosing this difficult.
>
>
>     D.
>
>     _______________________________________________
>     Mono-aspnet-list mailing list
>     [hidden email] <http://user/SendEmail.jtp?type=node&node=4656460&i=0>
>     http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
>
>     ------------------------------------------------------------------------
>     If you reply to this email, your message will be added to the
>     discussion below:
>     http://mono.1490590.n4.nabble.com/mod-mono-server4-not-working-with-2-11-3-tp4656453p4656460.html
>
>     To unsubscribe from mod-mono-server4 not working with 2.11.3, click
>     here.
>     NAML
>     <http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
>
> ------------------------------------------------------------------------
> View this message in context: Re: mod-mono-server4 not working with
> 2.11.3
> <http://mono.1490590.n4.nabble.com/mod-mono-server4-not-working-with-2-11-3-tp4656453p4656469.html>
> Sent from the Mono - ASP.NET mailing list archive
> <http://mono.1490590.n4.nabble.com/Mono-ASP-NET-f1539225.html> at
> Nabble.com.
>
>
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list



More information about the Mono-aspnet-list mailing list