2013-07-17 2 views
0

xml 구성을 통해 성 윈저를 사용하고 있습니다. 최근에 생성자 입력 매개 변수에 새로운 종속성을 추가 한 후이 오류가 발생했습니다. 어떻게 윈저 종속성 XML 파일에서 재정의를 제공 할 수 있는지 생각해보십시오.캐슬 윈저 : 구성에서 발견 된 사이클

Cycle detected in configuration. 
Component class1 has a dependency on class2 but it doesn't provide an override. 
You must provide an override if a component has a dependency on a service that it - itself - provides 

Server stack trace: 
    at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter) 
    at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) 
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) 
    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) 
    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) 

Exception rethrown at [0]: 
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) 
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) 
    at IOrderApplicationService.method1() 
    at OrderApplicationServiceClient.method1() 

답변

관련 문제