在IIS 7中托管时服务未运行

时间:2013-09-12 15:58:55

标签: wcf iis-7

我有一个已在IIS 7中托管的wcf服务。我在visual studio 2008中制作了WCF服务 我遵循以下2个程序

步骤-1

1- Run visual-studio 2008 as administartor
2-Run the service application .
3- Lets say the url is "http://Myhost:57232/Service1.svc"
4-Open visual studio 2008 command prompt 
5-type wcftestclient.exe http://Myhost:57232/Service1.svc" 
6-All the function works fine .

程序 - 2

1- Host the service in IIS 7
2-Browse the site 
3-Get the url lets say http://MyMachinename/test_Biku/Service1.svc?wsdl
4-Open visual studio 2008 command prompt 
5-type wcftestclient.exe http://MyMachinename/test_Biku/Service1.svc?wsdl
6-not even a single function  .

程序-2失败,但程序1没有。

有谁能告诉我出了什么问题?

提前致谢。

0 个答案:

没有答案