locked
Problem accessing HV with custom app-id RRS feed

  • Question

  • Hi,

      I have some issues accessing the HV using a custom app-id. When I follow the procedure mentioned in the Troubleshooter, the troubleshooter says everything is fine, whereas when I try to execute the application, it gives me an error. The stack trace is as follows:

    Access is denied.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: Microsoft.Health.HealthServiceAccessDeniedException: Access is denied.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [HealthServiceAccessDeniedException: Access is denied.]
       Microsoft.Health.EasyWebRequest.WaitForCompletion() +437
       Microsoft.Health.EasyWebRequest.Fetch(Uri url) +151
       Microsoft.Health.EasyWebRequest.Fetch(Uri url, IEasyWebResponseHandler customHandler) +64
       Microsoft.Health.HealthServiceRequest.ExecuteInternal() +122
       Microsoft.Health.HealthServiceRequest.Execute() +91
       Microsoft.Health.Authentication.Credential.MakeCreateTokenCall(String methodName, HealthServiceConnection connection, Collection`1 appIdCollection) +582
       Microsoft.Health.Authentication.Credential.MakeCreateTokenCall(String methodName, HealthServiceConnection connection, Guid appId) +111
       Microsoft.Health.Authentication.Credential.CreateAuthenticatedSessionToken(HealthServiceConnection connection, Guid appId) +456
       Microsoft.Health.Web.Authentication.WebApplicationCredential.AuthenticateKeySetPair(AuthSessionKeySetPairs keySetPairs, HealthServiceConnection connection, Guid applicationId) +411
       Microsoft.Health.Web.Authentication.WebApplicationCredential.AuthenticateKeySetPair(HealthServiceConnection connection, Guid applicationId) +74
       Microsoft.Health.Web.Authentication.WebApplicationCredential.Authenticate(HealthServiceConnection connection, Guid applicationId) +70
       Microsoft.Health.Web.Authentication.WebApplicationCredential.AuthenticateIfRequired(HealthServiceConnection connection, Guid applicationId) +169
       Microsoft.Health.AuthenticatedConnection.Authenticate() +91
       Microsoft.Health.Web.HealthServicePage.GetPersonInfo(String authToken) +140
       Microsoft.Health.Web.HealthServicePage.HandleTokenOnUrl() +149
       Microsoft.Health.Web.HealthServicePage.InitializeUserData(Boolean logOnRequired) +46
       Microsoft.Health.Web.HealthServicePage.OnPreLoad(EventArgs e) +62
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1323
    

    Monday, January 14, 2008 10:43 PM

Answers

  • Raghu,

     

    Can you give me some more details about the app id that you're using? Where did you get it, is the associated certificate installed on the machine, what steps have you walked through so far?

     

    Thanks

    Monday, January 14, 2008 11:26 PM