无意中安装了一个webservice,结果调试程序的结果很不正常。
在什么地方可以找到发布的webservice,然后怎么停掉webservice。

解决方案 »

  1.   

    IIS的什么地方??我刚才去找过 ,没找到。
      

  2.   

    停掉WebService,你可以关闭Asp_net进程即可如果想让WebService永远无法运行的话,可以在IIS中删除WebService所对应的虚拟目录。
      

  3.   

    奇怪,我都已经把IIS停止了。客户端也能调用部署的webservice。
      

  4.   

    输出一下webservice对象的url看看其指定的服务器是哪里。
      

  5.   

    是我机器上的
    调用的IP是我的机器上的,但是端口不是80。我查看了这个WEBSERVICE的方法,他的一部分代码是这样的:
    namespace smartService
    {
    [RunInstaller(true)]
    public class smartService: Installer
    {
    private ServiceInstaller serviceInstaller;
    private ServiceProcessInstaller processInstaller; public smartServiceInstaller()
    {
    // Instantiate installers for process and services.
    processInstaller = new ServiceProcessInstaller();
    serviceInstaller = new ServiceInstaller(); // The services run under the system account.
    processInstaller.Account = ServiceAccount.LocalSystem; // The services are started automatically.
    serviceInstaller.StartType = ServiceStartMode.Automatic; // ServiceName must equal those on ServiceBase derived classes.            
    serviceInstaller.ServiceName = "smartService"; // displayed in list
    serviceInstaller.DisplayName = "smartService"; // Add installers to collection. Order is not important.
    Installers.Add(serviceInstaller);
    Installers.Add(processInstaller);
    }
    }
    }
      

  6.   

    好像是用installutil.exe安装的。我忘记了。当时不是我装的这个东西。
      

  7.   

    如果这样的话,参看
    ms-help://MS.MSDNQTR.2003APR.1033/vbcon/html/vbtskinstallingserviceapplication.htm