admin管理员组文章数量:1242804
MySQL 8.0.3 Community Edition VB.NET
I have a module that read data from MS access accdb database and insert to MySQL table. The system is running pretty fine on windows 10 machines but throws the following exception on windows 11 machines.
Inner Exception = {"Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."}
my connection strings are
// connection string for Access Database
Dim accessConnectionString As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\xxx.accdb;"
// connection string for MySql Database
Dim mysqlConnectionString As String = "server = xxx.xxx.xxx.xxx; user=xxxx; password=xxxx; database=xxxx; Character Set=utf8mb4;port=3306;SslMode=None;ConnectionTimeout=30;"
same connection string is being used many other places/modules in the same project. only data import module throws me this error while executing executeNonQuery command.
windows firewall checked. no issue.
本文标签:
版权声明:本文标题:vb.net - A connection attempt failed because the connected party did not properly respond after a period of time - executeNonQue 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1740072383a2223118.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论