乱七八糟- wcf遇到404

        This morning I got some troble with depoying wcf to remove server.

 

 

        It runs fine in my local machine since I have vs2008 installed,

but met almost half day frustration in trouble shooting tring to make it run in another server with win 2003 and iis7.

 

        After I installed .net 3.5 sp1 and with existing .net 2.0 I think it should be ok to browse the wcf service with .svc postfix, but always meet 404 page not found error.

 

        I tried follow ways to fix:

        1. re-reg asp.net 2.0 as iis using command under C:/windows/Microsoft.NET/.../.net 2.0/aspnet_regiis.exe.

            nothing improved still 404 error.

 

        2. re-reg wcf service model using command under C:/windows/.../v3.0/Windows Communication Foundation /ServiceModelReg.exe

            nothing improved still 404 error.

 

        3. finally I recollected some experience when I tried to use put method in iis,

            there is a place in iis list all types iis can handle.

            And I found my target server not contains this .svc file handle rules. So after add it, it works .

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值