File-less activation of Routing Service

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives

while using File-Less activation feature to activate RoutingService you may experience an error.

To make sure that RoutingService works at all, I added RoutingService.svc file which hosts RoutingService:

<%@ ServiceHost Language="C#" Debug="true" Service="System.ServiceModel.Routing.RoutingService, System.ServiceModel.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"%>


When I open the page /RoutingService.svc the WSDL description is shown as expected.

However, when I add file-less activation (se below), the error appears, when trying to open RoutingService.svc (delete this file when using file-less activation):

Here is the configuration:

<add relativeAddress="RoutingService2.svc" service="System.ServiceModel.Routing.RoutingService" />

.. and these are errors:

"The resource cannot be found" OR

The type 'System.ServiceModel.Routing.RoutingService', provided as the Service attribute value in the ServiceHost directive could not be found.

Following configuration solves the problem:

<add relativeAddress="RoutingService.svc" service="System.ServiceModel.Routing.RoutingService, System.ServiceModel.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />


Posted Feb 09 2010, 11:56 PM by Damir Dobric

Comments

Routing with WCF « Tech wrote Routing with WCF &laquo; Tech
on 07-18-2012 16:20

Pingback from  Routing with WCF «  Tech

Routing with WCF « Tech wrote Routing with WCF &laquo; Tech
on 07-18-2012 16:22

Pingback from  Routing with WCF «  Tech

Routing with WCF « Tech wrote Routing with WCF &laquo; Tech
on 07-18-2012 16:23

Pingback from  Routing with WCF «  Tech

Routing with WCF « Tech wrote Routing with WCF &laquo; Tech
on 07-18-2012 16:24

Pingback from  Routing with WCF «  Tech

developers.de is a .Net Community Blog powered by daenet GmbH.