[Mono-list] WCF Hosting Problem
Atsushi Eno
atsushieno at veritas-vos-liberabit.com
Thu Jul 21 09:07:10 EDT 2011
It is more important than you think. You might have written very few
code, but that does tell us that "it is driven by default configuration"
which tells a lot.
Anyways give it a try with 2.10, which likely give different results :)
Atsushi Eno
> Well, It's like a helloworld service. There is barely any code involved.
>
> As for the versions, I will try the 2.10.x and let you know if it
> fixes my problem
>
> Thanks.
>
> -Vinod
>
> On Thu, Jul 21, 2011 at 4:58 PM, Atsushi Eno
> <atsushieno at veritas-vos-liberabit.com
> <mailto:atsushieno at veritas-vos-liberabit.com>> wrote:
>
> Hello,
>
> Without the actual sources I can only guess, but .NET 4 has
> couple of configuration changes which 2.8.x does not likely
> to support. Also it has much less configuration elements
> support as compared to 2.10.x.
>
> Atsushi Eno
>
> Hi, I am trying to host a simple application with one aspx,
> asmx and svc file each. I followed the below guide to achieve
> the hosting (since I am very new to the linux world, it took a
> while to understand it!): http://www.mono-project.com/
> Mod_mono#Manual_Mod_Mono_ Configuration
> <http://www.mono-project.com/Mod_mono#Manual_Mod_Mono_Configuration>
> After all the hosting, I am able to access the aspx and asmx
> file. But when I try to access the svc file, I get the below
> error: */The ServiceHost must have at least one application
> endpoint (that does not include metadata exchange endpoint)
> defined by either configuration, behaviors or call to
> AddServiceEndpoint methods./* or */HttpListenerContext does
> not match any of the registered channels/* Below is how my
> ServiceModel part of web.config looks: Can you please tell me
> what I am doing wrong? Note: I used MS VS 2010 to create this
> project and then published it. The published directory is
> copied to the Apache/Linux Environment. The WCF doesn't make
> use of any complex type. I am using Mono Version 2.8.2
> View this message in context: WCF Hosting Problem
> <http://mono.1490590.n4. nabble.com/WCF-Hosting-
> Problem-tp3682894p3682894.html
> <http://mono.1490590.n4.nabble.com/WCF-Hosting-Problem-tp3682894p3682894.html>
> >
> Sent from the Mono - General mailing list archive
> <http://mono.1490590.n4. nabble.com/Mono-General-
> f1490591.html
> <http://mono.1490590.n4.nabble.com/Mono-General-f1490591.html>> at
> Nabble.com.
>
>
>
> ______________________________ _________________
> Mono-list maillist - Mono-list at lists.ximian.com
> <mailto:Mono-list at lists.ximian.com>
> http://lists.ximian.com/ mailman/listinfo/mono-list
> <http://lists.ximian.com/mailman/listinfo/mono-list>
>
>
>
More information about the Mono-list
mailing list