WCF Service Deployment in IIS Page cannot be displayed and how does the SVC file work?

前端 未结 3 1294
天命终不由人
天命终不由人 2020-12-21 20:16

Arghhh! I\'m getting so frustrated trying to get my head around this WCF service.

So I created a WCF service. It works fine in my laptop where I launch it from Visua

3条回答
  •  一向
    一向 (楼主)
    2020-12-21 21:09

    Page cannot be displayed error is coming from IIS.

    • Add a simple html file and see if IIS can serve that file
    • Add a simple aspx file and see if IIS can serve that file
    • Now add .svc file as one of the documents in document list in IIS
    • Place dll in a bin folder under the virtual directory's physical path
    • Once you get the asp.net run time errors, it is easy find the answers for them

提交回复
热议问题