1
我在使用WCF服務時遇到了一些問題。當我在IIS中託管它時,它運行良好,但我認爲在某處存在問題。WCF服務在WCF服務主機中拋出錯誤
當我在Visual Studio 2010中運行我的WCF服務時,它啓動了WCF服務主機。
它命名主機,然後狀態是'錯誤'。
它給了錯誤是這樣的:
System.ServiceModel.AddressAlreadyInUseException: HTTP could not register URL http://+:8732/Design_Time_Addresses/EvalServiceLibrary/Service1/. Another application has already registered this URL with HTTP.SYS. ---> System.Net.HttpListenerException: Failed to listen on prefix 'http://+:8732/Design_Time_Addresses/EvalServiceLibrary/Service1/' because it conflicts with an existing registration on the machine.
我不知道這影響了部署在IIS服務,因爲這告訴我,我已經創建了一個服務,如果我瀏覽它通過IIS。
任何想法?