[Mono-aspnet-list] how to get correct stack from asmx web service

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Mon Oct 5 17:20:16 EDT 2009


On Mon, 2009-10-05 at 23:12 +0300, Andrus wrote:
> Asmx web service Web method:
> 
> [WebMethod()]
>  public void Test() {
>    throw new Exception("TESTEXCept");
> }
> 
> In Mono 2.4 it returns strange stack trace:
> 
> System.Exception: TESTEXCept
>   at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke 
> (object,object[],System.Exception&)

This works fine with trunk and mono-2-4.

The next 2.4.x.y release where x >= 3 should work.

-Gonzalo




More information about the Mono-aspnet-list mailing list