WCF and 404.3 Errors

After building, a WCF service in Windows Server 2003, I thought no big deal, for Windows Server 2008.  I deployed the service on my Windows Server 2008 machine and started getting 404.3 errors only with my WCF service.  After checking that I had all of the necessary dependencies:

  • 3.0 Framework
  • WCF Activation installed
    • This can be found under  the 3.0 framework options. Depending on your operating system this could be under different locations. 
      • Vista  : Control Panel -> Program and Features -> Turn on/ off Windows Features -> Microsoft.NET Framework 3.0
      • Server 2008 : Server Manager -> Add Features-> .Net Framework 3.0 Features -> WCF Activation

I kept getting 404.3 errors, so I started examining IIS to make sure that the right stuff is registered.  After not finding anything wrong, I started looking at the WCF installation. I found that my WCF services where not installed.  You can do the installation manually by running "ServiceModelReg.exe", which was found at %Windows%/Microsoft.Net/Framework/v3.0/Windows Communication Foundation/.

To check status run:
Command: ServiceModelReg -vi
Result: The expected result if "Default Installation" next to the features shown, otherwise the services are not active. 

To turn on Services:
Command: ServiceModelReg -i
Result: Installation of WCF services in IIS 7(6)

I was then able to immediately test my service and see that I could get to the WSDL.

Hopefully this fixes your 404.3 issue.

 

 

FROM: http://blogs.msdn.com/davidwaddleton/archive/2007/11/02/wcf-and-404-3-errors.aspx

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值