web service ping method throws exception after getting User tiket for windows live id RRS feed

  • Question

  • After my program generates the token for windows live and when I call the ping method of my web service, I see the following error. I have attached the trace file.




    $exception         {"An error occurred creating the configuration section handler for platform/passport: An item with the same key has already been added."}      System.Exception {System.ServiceModel.FaultException<System.ServiceModel.ExceptionDetail>}



    The lines code that I use to generate token and to call web service is as follows


    // Get user ticket

    string user1Ticket = PassportHelper.AuthenticateUser("username", "password");

    //Add behavior to end point


    forumsService.Endpoint.Behaviors.Add(new AuthenticationInspector(user1Ticket));

    //Make WS calls

     forumsService.Ping(); --------------this is the line that throws exception



    Friday, March 28, 2008 5:52 PM


  • Hi chintuInSeattle,


    Please repost your question in either the Windows Live forum or a developer forum.  This forum is for Microsoft SharedView, available at www.sharedview.com.




    Monday, March 31, 2008 5:47 PM