在Windows Server 2008 R2的WCF服务问题 [英] WCF Service Issue on Windows Server 2008 R2

查看:2360
本文介绍了在Windows Server 2008 R2的WCF服务问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个WCF服务运行没有问题,在Windows Server 2008和刚搬到该服务在到Windows Server 2008 R2实例。域名对于网站和服务都指出,新的服务和ASP.NET站点工作就好了。这说明,WCF服务不断抛出端点试图运行WSDL = wsdl10命令时没有找到的响应。

I had a WCF Service running without issue on Windows Server 2008 and just moved that service over to a Windows Server 2008 R2 instance. The domain name for the site and service were pointed to the new service and the ASP.NET site works just fine. That stated, the WCF Service keeps throwing Endpoint not found responses when trying to run the wsdl=wsdl10 command.

我试图在3.0 / Windows通讯基础目录安装ServiceModelReg;编辑applicationHost.config文件在.SVC mime类型添加,我检查了处理程序映射,但SVC已经在那里了。我试图运行aspnet_regiis的从4.0目录-iru。

I tried installing the ServiceModelReg in the v3.0/Windows Communication Foundation directory; editing the applicationHost.config file to add in the .svc mimeType, I checked the Handler Mappings but SVC was already there. And I tried running aspnet_regiis -iru from the 4.0 directory.

毫无效果。

我又试图删除,并重新添加在WCF激活和进程激活功能 - 没有任何帮助那里。我复查的web.config文件,但它使用的域名,而不是IP地址来定义端点的位置。

I then tried removing and adding back in the WCF Activation and Process Activation Features - no help there. I rechecked the web.config file but it is using domain names and not IP addresses to define the endpoint's location.

我完全被卡住 - 没有任何人有任何想法

I am completely stuck - does anybody have any ideas?

推荐答案

事实证明,你需要添加应用程序服务器角色到Web服务器(http://technet.microsoft.com/en-us/library /cc754024%28v=ws.10%29.aspx)在Windows Server 2008及以上。这需要的大多数问题的照顾。

As it turns out, you need to add the Application Server role to the web server (http://technet.microsoft.com/en-us/library/cc754024%28v=ws.10%29.aspx) in Windows Server 2008 and above. That takes care of most of the issues.

二,所有文件 - 包括DLL文件,图像,一切 - 包括网站的文件夹中需要提供读取和放大器;执行权限的IUsers组。

Second, all files - including DLLs, images, everything - in the folder containing the website needs to provide Read & Execute privileges to the IUsers group.

最后,如果你正在使用任何第三方的DLL,你需要确保IIS具有完全控制 - 的 http://learn.iis.net/page.aspx/624/application-pool-identities/

Finally if you are using any 3rd party DLLs, you need to make sure IIS has full control - http://learn.iis.net/page.aspx/624/application-pool-identities/

这篇关于在Windows Server 2008 R2的WCF服务问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆