Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/wcf/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
AppFabric自动启动&x2B;WCF-服务器重新启动异常_Wcf_Windows Server 2008_Iis 7.5_Appfabric - Fatal编程技术网

AppFabric自动启动&x2B;WCF-服务器重新启动异常

AppFabric自动启动&x2B;WCF-服务器重新启动异常,wcf,windows-server-2008,iis-7.5,appfabric,Wcf,Windows Server 2008,Iis 7.5,Appfabric,我的服务器设置是Windows Server R2、IIS 7.5和AppFabric 我已启用WCF服务以自动启动 当晚服务器重新启动时,服务将失败,事件日志中出现以下错误 WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/12036987 Exception: System.ServiceMode

我的服务器设置是Windows Server R2、IIS 7.5和AppFabric

我已启用WCF服务以自动启动

当晚服务器重新启动时,服务将失败,事件日志中出现以下错误

    WebHost failed to process a request.
 Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/12036987
 Exception: System.ServiceModel.ServiceActivationException: The service '/Host/emailservice.svc' cannot be activated due to an exception during compilation.  The exception message is: An item with the same key has already been added.. ---> System.ArgumentException: An item with the same key has already been added.
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at System.ServiceModel.Activation.HostedTransportConfigurationManager.EnsureInitialized()
   at System.ServiceModel.Activation.HostedTransportConfigurationManager.InternalGetBaseAddresses(String virtualPath)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
   --- End of inner exception stack trace ---
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
   at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)
 Process Name: w3wp
 Process ID: 2540

看起来AppFabric没有处理线程,有没有类似的问题或解决方法

嗨,我也有同样的问题。你知道怎么回事吗?嗨,我也有同样的问题。你有没有发现什么地方出了问题?