1

さまざまな Windows サービスでホストされる WCF サービスを作成しました。別の Windows サービスによる WCF サービスの使用中、最初はすべてが正常に行われます。しかし、1 日連続して実行した後、突然次の例外がスローされます。

エラーメッセージはCould not find endpoint element with name 'MemoryClient' and contract 'IQueue.IRepository' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this name could be found in the client element.

例外のソースSystem.ServiceModel

例外のスタック トレース:

at System.ServiceModel.Description.ConfigLoader.LoadChannelBehaviors(ServiceEndpoint serviceEndpoint, String configurationName) at System.ServiceModel.ChannelFactory.InitializeEndpoint(String configurationName, EndpointAddress address) at System.ServiceModel.ChannelFactory1..ctor(String endpointConfigurationName, EndpointAddress remoteAddress) at System.ServiceModel.ChannelFactory1..ctor(String endpointConfigurationName) at EngineChannelFactory.RepositoryClient.CreateNewChannel(String strEndPoint) THE TARGET SITE OF EXCEPTION -> Void LoadChannelBehaviors(System.ServiceModel.Description.ServiceEndpoint, System.String)

問題は、この同じエンドポイントをしばらく消費していることです。サービスが再起動すると、問題は解決します。誰もこの問題に直面しましたか? これは、.NET 3.5 がインストールされている Windows 2003 64 ビット サーバーで発生しています。これが環境の問題であり、.NET 3.5 SP1 で修正された場合、誰かが言いましたか?

前もって感謝します。

4

0 に答える 0