使用HealthVault API时出现问题 [英] Issue while Using HealthVault API

查看:96
本文介绍了使用HealthVault API时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

 尝试在开发服务器上使用healthvault api时出现以下错误,

 getting the following error while trying to using healthvault api on the development server,

 

System.Net.WebException:无法解析远程名称:'platform.healthvault-ppe.com'

  在Microsoft.Health.EasyWebRequest.StartPostRequest()

  在Microsoft.Health.EasyWebRequest.Fetch(Uri url)

  在Microsoft.Health.EasyWebRequest.Fetch(Uri url,IEasyWebResponseHandler customHandler)

  在Microsoft.Health.HealthServiceRequest.ExecuteInternal()

  在Microsoft.Health.ApplicationConnection.ExecuteRequestWithRetry(HealthServiceRequest请求)

  在Microsoft.Health.HealthServiceRequest.Execute()

 
System.Net.WebException: The remote name could not be resolved: 'platform.healthvault-ppe.com'
   at Microsoft.Health.EasyWebRequest.StartPostRequest()
   at Microsoft.Health.EasyWebRequest.Fetch(Uri url)
   at Microsoft.Health.EasyWebRequest.Fetch(Uri url, IEasyWebResponseHandler customHandler)
   at Microsoft.Health.HealthServiceRequest.ExecuteInternal()
   at Microsoft.Health.ApplicationConnection.ExecuteRequestWithRetry(HealthServiceRequest request)
   at Microsoft.Health.HealthServiceRequest.Execute()

注意:相同的代码在本地Web服务器上运行良好。
该应用程序是一个.net Web应用程序并使用IIS7。

Note: that the same code works great on the local web server. The application is a .net web application and uses IIS7.

我在web配置中为healthvault配置了以下配置

I have the following configuration for the healthvault in the web config

 < add key =" ApplicationId"值= QUOT; 538af422-fdb7-4852-a39e-e33105249fad" />
$
    < add key =" ShellUrl" value =" https://account.healthvault-ppe.com/ " />
$
    < add key =" HealthServiceUrl" value =" https://platform.healthvault-ppe.com/platform/ " />

 <add key="ApplicationId" value="538af422-fdb7-4852-a39e-e33105249fad" />
    <add key="ShellUrl" value="https://account.healthvault-ppe.com/" />
    <add key="HealthServiceUrl" value="https://platform.healthvault-ppe.com/platform/" />

非常感谢任何问题。 

 

推荐答案

Hello Usha,

Hello Usha,

根据错误消息,您能否确保您的网络连接工作正常,还验证开发服务器的代理设置。您可以查看

此主题
用于解决类似问题。问题&NBSP;如果您想在开发服务器的IIS中托管HealthVault应用程序, 然后你可以看看这个

博客文章

As per the error message, Could you please make sure that your network connection is working fine and also verify Proxy settings of your development server. You can look into this thread for resolution of similar issue.  If you would like to host the HealthVault application in development server's IIS,  then you can look into this blog post for hosting HealthVault applications in IIS.

问候,

Madan Kamuju

Madan Kamuju


这篇关于使用HealthVault API时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆