[Mono-dev] BasicHttpBinding issues
atsushieno at veritas-vos-liberabit.com
Thu Aug 12 02:06:36 EDT 2010
This is sort of a correct list (mono-list may be better unless mono
development is involved).
I have no idea on from which this list addition occurs. This might not
happen in the latest git head or daily builds (but I doubt that). If you
can provide the runnable example code, I can test it on the latest code.
On 2010/08/12 12:21, Matthew Fanto wrote:
> Forgive me if this is the wrong list. I checked the descriptions of
> the various lists, and this one seemed to be the most relevant, as I'm
> seeing a difference between running under .NET 3.5 and Mono 2.6.7.
> I am attempting to create a WCF service. I've been unable to get
> either NetTcpBinding or BasicHttpBinding working, yet both work fine
> if I run under .NET.
> Running under Mono 2.6.7 on Windows 7 x64, I occasionally get an
> exception "Exception during finishing channel acceptance" with a
> System.IndexOutofRangeException: Array index is out of range. This
> happens half the time that I run the service. I never get these
> exceptions if I am running under .NET.
> The end of the stack trace looks like:
> at (wrapper stelemref) object:stelemref (object,intptr,object)
> (IChannel item) [0x0001a] in
> (IChannel ch) [0x0004c] in
> (IAsyncResult result) [0x00000] in
> I can provide the full stack trace if needed.
> When the service does start, any clients that attempt to connect get
> an Error 400.
> I create the ServiceHost with:
> var host = new ServiceHost(typeof(TestService));
> host.AddServiceEndpoint(typeof(ITestService), new
> BasicHttpBinding(), "http://127.0.0.1:9999/test");
> I have also attempted to run the service under OpenSuSE 11.3, and get
> the same Error 400. Everything works fine under .NET 3.5 however.
> I have set all the buffer sizes to their max value.
> I'd appreciate any help or direction (or if I should be sending this
> to another list).
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list