on-internet
← Community

Exception "Resolution of the dependency failed"

Stack Overflow ·

My application has a 10 WCFService (WCFService Application on platform .NET Framework 3.5) with same software and hardware but only 1 takes this exception: When user is logged in invoke this method: public IService Select(SelectServiceRequest request) { IAxxxService anagServ = IoC.Container.Resolve<IAxxxService>(request.GetRegisteredService().ToString()); return xxxServ; } with GetRegisteredService() implementation with ClientIdentifier = 0 for first execution public RegisteredServices GetRegisteredService() { RegisteredServices res = RegisteredServices.Estxxx; if (ClientIdentifier == 0) { res

Comments

Sign in or sign up to comment and upvote.

No comments yet.