WCF, Service attribute value in the ServiceHost directive could not be found

后端 未结 22 1659
自闭症患者
自闭症患者 2020-12-04 17:19

I\'m trying to host my service with IIS 6 but I keep get this exception.

    Server Error in \'/WebServices\' Application.
----------------------------------         


        
22条回答
  •  误落风尘
    2020-12-04 18:08

    I practically solved the same issue . Here is my suggestion -- The error means that the object referenced in the Service attribute is not found. For the object to be found, the application or library must build output to the bin folder.

    You can edit property page of the application and specify the output path to 'bin'.

提交回复
热议问题