Microsoft Developer Network > Forenhomepage > Live Framework > Environment.Connect() throws 404
Stellen Sie eine FrageStellen Sie eine Frage
 

BeantwortetEnvironment.Connect() throws 404

  • Donnerstag, 2. Juli 2009 16:17NoSuch TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    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

Antworten

  • Freitag, 3. Juli 2009 06:39Yi-Lun LuoMSFT, ModeratorTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet
    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.
    • Als Antwort markiertNoSuch Freitag, 3. Juli 2009 15:24
    •  

Alle Antworten