[Mono-devel-list] Read failure with XSP on Windows

Kevin Flanagan kevin.flanagan at bom.co.uk
Wed Apr 13 04:24:39 EDT 2005

Hello - I've installed Mono 1.1.4 on XP Pro - am writing an ASP.NET app to
run under .NET and Mono, so it's very helpful to be able to test both on the
same OS. The app (quite simple at present) basically runs fine under Mono,
after a couple of tweaks ... in fact, I'm likely to be joining the ranks of
those with nothing but praise for Mono. The only problem I can't solve is
getting 'Read failure' on *almost* every page postback (running XSP and
using IE6 on the same XP machine). I've seen this referred to elsewhere
(e.g. http://www.webtropy.com/articles/art16-mono.asp?MONO%20for%20Linux)
but not on this list, nor with any suggested solution.

The results in the browser look like this:

Server error in '/' application
Description: Error processing request.
Error Message: HTTP 500.

Stack Trace: System.IO.IOException: Read failure
Server stack trace:
in <0x000b8> System.Net.Sockets.NetworkStream:Read (byte[],int,int)
in <0x00017> Mono.ASPNET.XSPWorker:Read (byte[],int,int)
in <0x0012e> Mono.ASPNET.BaseRequestBroker:Read (int,int,byte[]&)
in <0x00131> (wrapper xdomain-dispatch) Mono.ASPNET.BaseRequestBroker:Read
Exception rethrown at [0]:
---> System.Net.Sockets.SocketException: Operation on non-blocking socket
would blockin <0x0006b> System.Net.Sockets.Socket:Receive_nochecks
in <0x0005b> System.Net.Sockets.Socket:Receive
in <0x0007b> System.Net.Sockets.NetworkStream:Read (byte[],int,int)
--- End of inner exception stack trace ---
in <0x00211> (wrapper xdomain-invoke) Mono.ASPNET.BaseRequestBroker:Read
in <0x0004b> (wrapper remoting-invoke-with-check)
Mono.ASPNET.BaseRequestBroker:Read (int,int,byte[]&)
in <0x000a5> Mono.ASPNET.XSPWorkerRequest:ReadInput (byte[],int,int)
in <0x0001f> Mono.ASPNET.XSPWorkerRequest:ReadEntityBody (byte[],int)
in <0x00252> System.Web.HttpRequest:GetRawContent ()
in <0x0005c> System.Web.HttpRequest:ParseFormData ()
in <0x00012> System.Web.HttpRequest:get_Form ()
in <0x00062> System.Web.UI.Page:DeterminePostBackMode ()
in <0x0001a> System.Web.UI.Page:InternalProcessRequest ()
in <0x00095> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
in <0x00225> ExecuteHandlerState:Execute ()
in <0x00071> StateMachine:ExecuteState

Can anyone suggest a solution?

Thanks in advance for any help.

Kevin Flanagan.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050413/4c642fd6/attachment.html 

More information about the Mono-devel-list mailing list