登录失败:未知的用户名或密码错误

编程入门 行业动态 更新时间:2024-10-23 23:33:21
本文介绍了登录失败:未知的用户名或密码错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在创建代码以在vb中打开网站并将使用名称和密码传递给该网站。但我收到错误登录失败:未知用户名或密码错误 这是我的代码。这有什么问题

Dim domain 作为 字符串 = google Dim username As 字符串 = 用户名 Dim 密码作为 新 System.Security.SecureString Dim plainPassword As String = password 对于 每个 c 在 plainPa ssword.ToCharArray password.AppendChar(c) 下一步 c Process.Start( C:\Program Files \Internet Explorer \ xxxplore.exe, accounts.google/ServiceLogin?service=mail&passive=true&rm=false&continue=mail.google/mail/ ?tab%3Dwm& scc = 1& ltmpl = default& ltmplcache = 2,用户名,密码,域名)

解决方案

那个%3D应该在那里吗? 你是不是编码& tab参数值? 也许应该和& tab = wm而不是& tab =%3Dwm

I am creating code to open website in vb and passing the use name and password to that site. But I got error " Logon failure: unknown user name or bad password" This is my code. What''s wrong in that

Dim domain As String = "google" Dim username As String = "Username" Dim password As New System.Security.SecureString Dim plainPassword As String = "password" For Each c In plainPassword.ToCharArray password.AppendChar(c) Next c Process.Start("C:\Program Files\Internet Explorer\iexplore.exe", "accounts.google/ServiceLogin?service=mail&passive=true&rm=false&continue=mail.google/mail/?tab%3Dwm&scc=1&ltmpl=default&ltmplcache=2", username, password, domain)

解决方案

Should that %3D be there? are you URLEncoding the &tab parameter value? maybe that should be &tab=wm instead of &tab=%3Dwm

更多推荐

登录失败:未知的用户名或密码错误

本文发布于:2023-10-23 02:01:43,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1519409.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:用户名   错误   密码

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!