HTTP Error 404.3 - Not Found" while browsing wcf service on Windows Server 2008(64bit)

后端 未结 7 2097
孤独总比滥情好
孤独总比滥情好 2020-11-28 08:35

I am developing an application based on .Net Framework 3.5 sp1 and hosted on windows server 2008(64bit).

While browsing wcf service (.svc) locally every things is ok

7条回答
  •  佛祖请我去吃肉
    2020-11-28 09:05

    I wanted to add this as a comment to the answer but didn't have enough rep for it. I tried running ServiceModelReg and aspnet_regiis.exe with various flags and added HTTP Activation feature but it still didn't work. Even using the Handler mapping UI in IIS didn't work since it could not find System.ServiceModel.Activation.HttpHandler. What finally worked was adding the handler Mori mentions manually to my web.config file.

    
        
          
    

    My project was running .Net 3.5 and IIS 7.5 on Windows 7 and IIS 7.0 on Win Server 2008 R2.

提交回复
热议问题