[Mono-aspnet-list] [System.InvalidOperationException]: Contract '...' was not found in the implemented contracts in this service host.

Uli Hertlein uli at xdt.com.au
Thu Mar 3 23:53:32 EST 2011


Hi,

nothing? :-(

Does anyone have a similar environment, namely ASP.Net with WCF callbacks, webHttpBinding and the 
following directory layout?

bin/Web.Control.dll <-- implements Web.Control.IControlService (and Web.Control.ControlService)
Services/ControlService.svc <-- references Web.Control.IControlService

Can I register contracts with the service host manually?

Cheers,
/uli

On 03/01/2011 03:22 PM, Uli Hertlein wrote:
> I have a ASP.Net application with WCF callbacks that works fine on Windows/Visual Studio.
> When publishing to Apache with mod_mono (2.10) the JavaScript calls to
> 'Services/ControlService.svc/...' generate the following exception:
>
> [System.InvalidOperationException]: Contract 'Web.Control.IControlService' was not found in the
> implemented contracts in this service host.

-- 
Ulrich Hertlein
Research and Development   mailto:uli at xdt.com.au
XDT Pty Ltd                http://www.xdt.com.au


More information about the Mono-aspnet-list mailing list