Le réseau pour les développeurs > Forums - Accueil > Live Framework > Environment.Connect() throws 404
Poser une questionPoser une question
 

TraitéeEnvironment.Connect() throws 404

  • jeudi 2 juillet 2009 16:17NoSuch Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    I'm following the tutorial "Walkthrough DotNETToolkit.doc" and get an exception when calling Environment.Connect().  Here's the stack trace; there's no InnerException:

       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.Web.Clients.HttpClient.GetOrHead(String verb, Uri uri, SyndicationOperationContext context)
       at Microsoft.Web.Clients.HttpClient.Get(Uri uri, SyndicationOperationContext context)
       at Microsoft.Web.Clients.AtomPubClient.ReadServiceDocument[TDocument](Uri serviceDocumentUrl, SyndicationOperationContext context)
       at Microsoft.Web.Clients.AtomPubClient.ReadServiceDocument(Uri serviceDocumentUrl, SyndicationOperationContext context)
       at Microsoft.LiveFX.Client.Mesh.ConnectHelper(LiveOperatingEnvironment service, Uri meshUrl, LiveItemAccessOptions options)
       at Microsoft.LiveFX.Client.LiveOperatingEnvironment.ConnectHelper(SyndicationOperationContext context, Uri serviceUrl, LiveItemAccessOptions options)
       at Microsoft.LiveFX.Client.LiveOperatingEnvironment.Connect(String authToken, AuthenticationTokenType tokenType, Uri serviceUrl, LiveItemAccessOptions options)
       at MyPhotos.MyPhotos.Connect_Click(Object sender, EventArgs e) in C:\Users\(me)\Documents\Visual Studio 2008\Projects\MyPhotos\MyPhotos\Form1.cs:line 55

    If I enter an incorrect user name or password I get a different exception so I know I've entered my password correctly.  How should I go about debugging?  My uri is https://user-ctp.windows.net

Réponses

  • vendredi 3 juillet 2009 06:39Yi-Lun LuoMSFT, ModérateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée
    This is a Live Framework problem. I'm moving it to Live Framework forum. Have you activated your Live ID by creating a project on the portal? I just tried to create a new Live ID, and use that Live ID to connect to mesh, and I got the same 404. You have to go to https://lx.azure.microsoft.com/Cloud/Provisioning/Default.aspx to create a Live Framework project before trying to connect to mesh. Click "New Project", and then "Activate your Live Framework CTP Account".
    Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.
    • Marqué comme réponseNoSuch vendredi 3 juillet 2009 15:24
    •  

Toutes les réponses