Thursday, April 3, 2014

The type 'System.ServiceModel.Routing.RoutingService', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found

Recently I have created WCF router service and deployed to IIS. But once I run the my router service its gives me above error Sad smile.Normally this kind of errors happen when service couldn't find the service host reference. but in my router service its seems ok .

<%@ ServiceHost Language="C#" Debug="true" Service="System.ServiceModel.Routing.RoutingService" %>


Then I use full qualified name instead of the name as below.Bingo then its works Smile 


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

2 comments:

  1. CasinoSecret - Your No Deposit Bonus for Slots!
    We will list bet365 everything you planet win 365 need to know about the casino secrets that casino players know about before signing up. Free Spins Bonus: 100% カジノ シークレット up to $/€ 200.00. Rating: 4.4 · ‎Review by Ivan Potocki

    ReplyDelete