[Mono-aspnet-list] Problem using a web service.

ionsol nabble at pasichnyk.net
Fri May 29 23:30:17 EDT 2009




ionsol wrote:
> 
> 
> 
> ionsol wrote:
>> 
>> 
>> 
>> smsisko wrote:
>>> 
>>> I have tried using the code in a both a console application and a
>>> website
>>> (using xsp2) and I have exactly the same result as ionsol.
>>> 
>>> It's on a Gentoo system using the 2.4 or 2.4-svn ebuilds on a amd64
>>> system.
>>> 
>>> If I try the same code in the vmware mono application image, it works
>>> like
>>> it should.
>>> 
>>> At this point I'm pretty sure that the problem has something to do with
>>> the
>>> setup.
>>> 
>>> ionsol, what is your setup, maybe we will find something in common ?
>>> 
>>> On Sat, May 16, 2009 at 1:57 AM, Gonzalo Paniagua Javier <
>>> gonzalo.mono at gmail.com> wrote:
>>> 
>>>> I have just tried running this in a console program and inside xsp2
>>>> (ie,
>>>> in a web page) and everything works fine...
>>>>
>>>> On Fri, 2009-05-15 at 12:08 -0700, ionsol wrote:
>>>> > Here is a bit more information.
>>>> >
>>>> > If I run the following code in both a console application and a
>>>> website
>>>> > (hosted with fastcgi-mono-server2), I get two different results.
>>>> >
>>>> >
>>>> > using (System.Net.WebClient client = new System.Net.WebClient())
>>>> >          {
>>>> >             using (System.IO.Stream stream =
>>>> > client.OpenRead("http://www.google.com"))
>>>> >             {
>>>> >                   using (System.IO.StreamReader sr = new
>>>> > System.IO.StreamReader(stream))
>>>> >                   {
>>>> >                      Console.WriteLine(sr.ReadToEnd());
>>>> >                   }
>>>> >             }
>>>> >
>>>> >          }
>>>>
>>> 
>>> _______________________________________________
>>> Mono-aspnet-list mailing list
>>> Mono-aspnet-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>>> 
>>> 
>> 
>> 
>> smsisko,
>> 
>> I'm on Gentoo amd64 in a Xen VM.  
>> 
>> I'm running  dev-lang/mono-2.4-r3, with the following USE flags: USE="xen
>> -minimal -moonlight". 
>> 
>> I haven't tried running inside a standalone xsp2 processes, however I'm
>> running under apache->mod_fcgid->fastcgi-mono-server2, which i believe
>> should be very similiar to the xsp2 process in the end.
>> 
>> I wonder if the gentoo patches/ebuild messed something up...?  Is anyone
>> having this same problem with a non-gentoo package?
>> 
>> Thanks,
>> Jesse
>> 
> 
> 
> Just incase, I tried running this same code in a standalone xsp2 process,
> and got the same failures.
> 
> -
> Jesse
> 

Has anyone found the fix for this issue?  I'm still not able to get this to
work using Mono 2.4. 

Thanks,
Jesse
-- 
View this message in context: http://www.nabble.com/Problem-using-a-web-service.-tp23246075p23790029.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.



More information about the Mono-aspnet-list mailing list