[Mono-list] WCF Hosting Problem

Vinod baligavinod at gmail.com
Thu Jul 21 02:07:23 EDT 2011

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!):


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./*


*/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: http://mono.1490590.n4.nabble.com/WCF-Hosting-Problem-tp3682894p3682894.html
Sent from the Mono - General mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110720/072356f4/attachment.html 

More information about the Mono-list mailing list