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

后端 未结 22 1663
自闭症患者
自闭症患者 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:14

    This may sound trivial, but worth mentioning: You have to build the service (in Visual Studio) - then a DLL will be created in the bin subfolder.

    When the service is "deployed" on a server - that bin folder needs to have that DLL file in it - otherwise this error will be thrown...

提交回复
热议问题