WCF not running under IIS 6.0

前端 未结 6 2064
夕颜
夕颜 2021-02-04 03:20

Trying to get my WCF service running under IIS 6.

I have created the .svc and aspnet_isapi.dll mapping according to: http://msdn.microsoft.com/

6条回答
  •  灰色年华
    2021-02-04 03:46

    More than likely the .svc extension is not registered under IIS as being handled by ASP.NET (WCF).

    Try these 2 steps (replace Framework with Framework64 if it's needed):

    Go to:

    C:\Windows\Microsoft.NET\Framework\v2.0.50727\
    

    and then run:

    aspnet_regiis -i
    

    Go to: C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation

    and then run:

    ServiceModelReg.exe -i
    

提交回复
热议问题