1

我使用 WCF 开发了一个 Web 服务,并使用 NTLM over SSL 对其进行保护。我能够使用 Visual Studio 2008 表单或 Web 项目成功连接。我遇到的问题是在创建智能设备项目并将其部署在设备上时。

当我调用服务时,从客户端出现错误:Web Exception

在服务器站点上,当我检查事件日志时,我收到以下错误:

**Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/7491627
 Exception: System.Web.HttpException (0x80004005): There was no channel actively listening at 'https://mymachine:9011/FrontEndWS/MeterReadingService.svc/$metadata'. This is often caused by an incorrect address URI. Ensure that the address to which the message is sent matches an address on which a service is listening. --->  
System.ServiceModel.EndpointNotFoundException: There was no channel actively listening at 'https://mymachine:9011/FrontEndWS/MeterReadingService.svc/$metadata'. This is often caused by an incorrect address URI. Ensure that the address to which the message is sent matches an address on which a service is listening. 

at System.ServiceModel.Activation.HostedHttpTransportManager.HttpContextReceived(HostedHttpRequestAsyncResult result)
   at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest()
   at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()
   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)**

Process Name: w3wp
  Process ID: 2828

无法弄清楚为什么在移动设备上会发生这种情况,但在 PC 上却可以正常工作。

4

0 回答 0