本文介绍了登录失败:未知的用户名或密码错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在创建代码以在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<mpl=default<mplcache=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更多推荐
登录失败:未知的用户名或密码错误
发布评论