SDK Images issue : (416) Requested Range Not Satisfiable.

    General discussion

  • We're currently running on HealthVault SDK Platform1212 (released Jan 2013) and getting (416) Requested Range Not Satisfiable for a HealthRecordSearcher with a filter.

    System.Net.WebException: The remote server returned an error: (416) Requested Range Not Satisfiable.

       at System.Net.HttpWebRequest.GetResponse()

       at Microsoft.Health.BlobStream.ReadStreamedData(Byte[] buffer, Int32 offset, Int32 count) in e:\bt\64\private\hv\prod\src\sdk\core\BlobStream.cs:line 500

    This seems to be a low level http issue caused when the HealthVault SDK is trying to receive binary image data associated with the health record item. It’s possible the SDK is trying to read beyond the end of the file, perhaps because the offset or count is wrong… one for Microsoft

    Tuesday, May 06, 2014 4:24 PM

All replies

  • This was fixed a little over a year ago. Please pick up the latest .NET SDK at

    Jeff Jones Technical Lead HealthVault Development Team

    Thursday, May 08, 2014 8:01 PM
  • Thanks.

    Any thoughts on the risk RE upgrading.

    Is there likely to be any impact across the application?

    Monday, May 12, 2014 10:46 AM
  • The biggest change is that we moved to a global architecture. By default the SDK treats apps as aware of this architecture. You'll have to set a config value "MultiInstanceAware" to maintain your current behavior. See for more information.

    Another change is that we removed support for AllowParitiallyTrustedCallers. It opened us up to some security concerns and is no longer needed in modern hosting environments.

    There may be some small changes that may require you to rebuild your application and in some cases make some syntactical changes. These should be minimal if you have anything at all.

    Jeff Jones Technical Lead HealthVault Development Team

    Monday, May 12, 2014 3:43 PM