[Mono-list] Error getting response stream (ReadDone2): ReceiveFailure

Gnanam gnanam at zoniac.com
Mon May 18 07:11:42 EDT 2009


Hi,

I'm running CentOS operation system 5.2 with the following softwares
installed:
	1) OS: CentOS release 5.2 (Final)
	2) Web Server: Apache 2.2.4
	3) Mono: Mono 1.2.4
	4) xsp: xsp 1.2.4
	5) mod_mono: mod_mono 1.2.4

When I invoke my ASMX file from the browser, it is working.  But when I
click "Test Form" and then
"Invoke", I'm getting the following error:

Error getting response stream (ReadDone2): ReceiveFailure

Given below my WebMethod code.  This code reads "ServerPort" value from
web.config and returns the server port.

    [WebMethod]
    public string GetZoniacServerPort()
    {
        string StrServerPort =
System.Configuration.ConfigurationSettings.AppSettings["ServerPort"];
        //string StrServerPort = "8000";
        ZoniacLogger.Info("Before returning Server Port.");
        return StrServerPort;
    }


Could anyone help me solve this issue?  This is very urgent.

Regards,
Gnanam.

-- 
View this message in context: http://www.nabble.com/Error-getting-response-stream-%28ReadDone2%29%3A-ReceiveFailure-tp23595410p23595410.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list