0

我安装了 Intuit 合作伙伴平台的示例应用程序。我单击“添加帐户”,选择机构,然后当我尝试登录时,调用 DiscoverAndAddAccounts 时出现错误“服务不可用”:

List<Credential> credentials = new List<Credential>();
foreach (Control control in LoginControls.Controls)
{
    if (control as TextBox != null)
    {
        Credential cred = new Credential();
        TextBox loginValue = (TextBox)control;
        cred.name = loginValue.Attributes["KeyName"];
        cred.value = loginValue.Text;
        credentials.Add(cred);
    }
}
creds.credential = credentials.ToArray();
instLogin.AnyIntuitObject = creds;

Challenges challenges = null;
ChallengeSession challengeSession = null;
AccountList accountList = svc.DiscoverAndAddAccounts(long.Parse(Request.QueryString["InstitutionID"].ToString()), instLogin, out challenges, out challengeSession);

任何人都可以解释什么是错的?我在登录名和密码中写了“测试”。

4

0 回答 0