本文介绍了Agent Desktop:DESKTOP_ERR_IN_LOAD:加载桌面时出错。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我得到了这个 9/11/2009 2:34:51 PM:微软客户关怀框架2009:Agentdesktop开始... 9/11/2009 2:34: 55 PM:Agent Desktop:DESKTOP_ERR_IN_LOAD:加载桌面时出错。 System.InvalidOperationException:无法在ServiceModel客户端配置中找到引用合同"Microsoft.Ccf.Samples.Csr.AgentDesktop.Options.Options"的默认端点元素部分。这可能是因为没有为您的应用程序找到配置文件,或者因为在客户端元素中找不到与此合同匹配的端点元素。在System.ServiceModel.Description.ConfigLoader.LoadChannelBehaviors(ServiceEndpoint serviceEndpoint,String configurationName) 在System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName,Configuration configuration)在System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName)在System.ServiceModel.ChannelFactory.InitializeEndpoint(String configurationName ,EndpointAddress地址)在System.ServiceModel.ChannelFactory`1..ctor(String endpointConfigurationName,EndpointAddress remoteAddress)在System.ServiceModel.ChannelFactory`1..ctor(String endpointConfigurationName) at Microsoft.Ccf.Common.ProxyProvider.WcfProxy.CreateChannel [T](ServiceEndpoint端点,ClientCredentials ClientCredentials)在Microsof t.Ccf.Common.ExtendedClientBase`1.get_Channel()在Microsoft.Ccf.Common.ExtendedClientBase`1.Close()在Microsoft.Ccf.Common.ExtendedClientBase`1.Dispose() 9 / 11/2009 2:34:55 PM:Microsoft客户服务框架2009:Agentdesktop退出。 找不到任何其他有关此问题的话题,请提供帮助!I got this9/11/2009 2:34:51 PM: Microsoft Customer Care Framework 2009: Agentdesktop starting... 9/11/2009 2:34:55 PM: Agent Desktop: DESKTOP_ERR_IN_LOAD: Error while loading Desktop.System.InvalidOperationException: Could not find default endpoint element that references contract 'Microsoft.Ccf.Samples.Csr.AgentDesktop.Options.Options' 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 contract could be found in the client element. at System.ServiceModel.Description.ConfigLoader.LoadChannelBehaviors(ServiceEndpoint serviceEndpoint, String configurationName) at System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName, Configuration configuration) at System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName) at System.ServiceModel.ChannelFactory.InitializeEndpoint(String configurationName, EndpointAddress address) at System.ServiceModel.ChannelFactory`1..ctor(String endpointConfigurationName, EndpointAddress remoteAddress) at System.ServiceModel.ChannelFactory`1..ctor(String endpointConfigurationName) at Microsoft.Ccf.Common.ProxyProvider.WcfProxy.CreateChannel[T](ServiceEndpoint endpoint, ClientCredentials ClientCredentials) at Microsoft.Ccf.Common.ExtendedClientBase`1.get_Channel() at Microsoft.Ccf.Common.ExtendedClientBase`1.Close() at Microsoft.Ccf.Common.ExtendedClientBase`1.Dispose() at Microsoft.Ccf.Samples.Csr.AgentDesktop.Desktop.IsVersionsMatched() at Microsoft.Ccf.Samples.Csr.AgentDesktop.Desktop.Desktop_Load(Object sender, EventArgs e) 9/11/2009 2:34:55 PM: Microsoft Customer Care Framework 2009: Agentdesktop exited. Can't find any other topic with this problem please i need some help!推荐答案 AgentDesktop没有找到Microsoft.Ccf.Samples.Csr.AgentDesktop.Options.Options WS的端点。检查agentDesktop.exe.config文件以获取此WS端点的URL,否则如果WS在CCF服务器的IIS中已启动。AgentDesktop is not finding the endpoint to Microsoft.Ccf.Samples.Csr.AgentDesktop.Options.Options WS. Check the agentDesktop.exe.config file for the URL of this WS endpoint or else if the WS is up in the IIS in CCF Server. 这篇关于Agent Desktop:DESKTOP_ERR_IN_LOAD:加载桌面时出错。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 09-05 19:33