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()
4

1 に答える 1

0

ドキュメントに記載されているアプローチを試しましたか?

于 2013-07-24T22:13:08.747 に答える