Microsoft 开发人员网络 > 论坛主页 > Live Framework > Environment.Connect() throws 404
提出问题提出问题
 

已答复Environment.Connect() throws 404

  • 2009年7月2日 16:17NoSuch 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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

答案

  • 2009年7月3日 6:39Yi-Lun LuoMSFT, 版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复
    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.
    • 已标记为答案NoSuch 2009年7月3日 15:24
    •  

全部回复

  • 2009年7月3日 6:39Yi-Lun LuoMSFT, 版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复
    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.
    • 已标记为答案NoSuch 2009年7月3日 15:24
    •  
  • 2009年8月20日 22:31Daniel Meresa 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    I have the same problem is there any solution?