MSDN > 論壇首頁 > Live Framework > Environment.Connect() throws 404
發問發問
 

已答覆Environment.Connect() throws 404

  • 2009年7月2日 下午 04: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
    • 已移動Yi-Lun LuoMSFT, 版主2009年7月3日 上午 06:32Off topic. (From:.NET Services - Technical Discussions)
    •  

解答

  • 2009年7月3日 上午 06: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日 下午 03:24
    •  

所有回覆

  • 2009年7月3日 上午 06: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日 下午 03:24
    •  
  • 2009年8月20日 下午 10:31Daniel Meresa 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    I have the same problem is there any solution?