假如输入http://localhost/service.svc,返回error 404.3-Not found and the mime type not being configured correctly to be served。很有可能是因为VS之后安装或修改了IIS,就如同aspnet_regiis.exe一样。

解决方法就是执行以下命令:

C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe -i

What it did, it installed the necessary scriptmaps at the IIS metabase root and folders within.

 

相关文章:

  • 2021-10-06
  • 2021-06-05
  • 2021-07-30
  • 2021-08-11
  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
  • 2021-09-03
猜你喜欢
  • 2021-07-08
  • 2021-09-08
  • 2022-12-23
  • 2022-02-24
  • 2021-08-24
  • 2022-12-23
  • 2022-01-09
相关资源
相似解决方案