1

我想在显示扩展启动画面的同时让我的用户登录。但是 Live Sdk 总是抛出一个意想不到的错误!

Microsoft.Live.LiveAuthException: An error occurred while performing the operation. Please try again later. ---> System.Exception: Die Anforderung wird nicht unterstützt. (Ausnahme von HRESULT: 0x80070032)
   at Windows.Security.Authentication.OnlineId.OnlineIdAuthenticator.AuthenticateUserAsync(IEnumerable`1 requests, CredentialPromptType credentialPromptType)
   at Microsoft.Live.TailoredAuthClient.<GetAccessToken>d__b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Live.TailoredAuthClient.<AuthenticateAsync>d__0.MoveNext()
   --- End of inner exception stack trace ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at WitzeWindows8.ExtendedSplashScreen.<DismissedEventHandler>d__13.MoveNext() in c:\Users\Michi\Documents\Visual Studio 2012\Projects\WitzeWindows8\WitzeWindows8\ExtendedSpashScreen.xaml.cs:line 135
4

1 回答 1

0

查看如何使用本教程使用 LiveSDK:http ://www.silverlightshow.net/items/Using-the-Live-SDK-in-Windows-8-XAML-C-Metro-Applications.aspx

您的扩展启动画面可能是问题的根源,您应该尝试不使用扩展启动画面并显示此窗口,如教程中所述: 在此处输入图像描述

于 2012-08-28T22:07:22.780 回答