MSDN > Home page del forum > Live Framework > Environment.Connect() throws 404
Formula una domandaFormula una domanda
 

Con rispostaEnvironment.Connect() throws 404

  • giovedì 2 luglio 2009 16.17NoSuch Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    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

Risposte

  • venerdì 3 luglio 2009 6.39Yi-Lun LuoMSFT, ModeratoreMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     Con risposta
    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.
    • Contrassegnato come rispostaNoSuch venerdì 3 luglio 2009 15.24
    •  

Tutte le risposte

  • venerdì 3 luglio 2009 6.39Yi-Lun LuoMSFT, ModeratoreMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     Con risposta
    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.
    • Contrassegnato come rispostaNoSuch venerdì 3 luglio 2009 15.24
    •  
  • giovedì 20 agosto 2009 22.31Daniel Meresa Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    I have the same problem is there any solution?