端点上的WCF服务意外异常

时间:2011-08-19 09:57:54

标签: wcf endpoint

我们创建了托管在各种Windows服务上的WCF服务。在通过另一个Windows服务消费WCF服务期间,最初一切都成功。但是在连续执行一天后,它突然抛出以下异常:

错误讯息为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.ChannelFactory 1..ctor(String endpointConfigurationName,EndpointAddress remoteAddress)    在System.ServiceModel.ChannelFactory 1..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中修复了吗?

提前谢谢。

0 个答案:

没有答案