Oct 16, 2009

HealthVault Apps - Troubleshooting errors.

Microsoft HealthVaultImage via Wikipedia
After having spent time writing and troubleshooting HealthVault apps, the overall feedback is "that's easy". There were moments of troubleshooting that might take time, if you are not familiar with Digital Certificates and their usage in HealthVault client side authentication. Listed are few errors you are most likely to face the first time and right places to look for the quick fix. The errors were mostly faced while performing HealthVault authorization using the Offline Access mode.

Error 1: System.Security.Cryptography.CryptographicException: Keyset does not exist
Reason: 
You don't have the correct certificate installed on the machine that is hosting your HV app. 
[or] Your application showing up in the HV application manager doesn't match with the configuration page in HealthVault configuration site.This happens when you are importing a pfx file into the server that is hosting your HV app. If so, fix it!
More details:
Look up this URL for more detailed troubleshooting help. 
General troubleshooting tips:
1) Use the troubleshooter app that comes with HV SDK installation. It's a great diagnosis tool. It can be found mostly here "C:\Program Files\Microsoft HealthVault\SDK\DotNet\WebSamples\Troubleshooter" depending on your installation path.
2) If you are using SSL for your HV hosted app, remember to add the following key to your config file

Will be updating this page as i see more errors. Hopefully, i don't have to :)


Reblog this post [with Zemanta]

No comments:

Post a Comment