使用Windows Mobile时,WebHost无法在IIS 7 Windows 2008上处理请求

时间:2012-04-05 14:16:38

标签: windows wcf iis-7

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

当我调用该服务时,从客户端我收到错误:Web异常

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

**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上工作正常。

0 个答案:

没有答案