Meet problem when deploy a WCF IIS host

Yesterday, l  try to deploy a WCF's iis host,meet two problem , By finding the material l resolved them.

first:

  my iis can't execute .SVC file . (IIS5.1)

  1.go to iis manager, 2.in virtual directory tab  click configuration button,3.Add a Extension for .SVC file and set the executable to 'c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll.

      4.Save

second:

  'provided as the Service attribute value in the ServiceHost directive could not be found....'

      this was caused by can't found the dll file. so set the service project's output path to bin folder not bin/debug folder.

    

 

 

posted @ 2010-01-15 09:32  C.fly  阅读(159)  评论(0编辑  收藏  举报