Page 1 of 1

Connection to MARIADB with MYDAC

Posted: Wed 16 May 2018 09:57
by PDT be-right
Hello
Since last Windows 10 update on all clients worksation, connection is impossible.

Error code is :

Cannot create TCP/IP socket:
Invalid argument provided
Socket error Code : 10022($2726)

Idea ?

Rgds

Re: Connection to MARIADB with MYDAC

Posted: Wed 16 May 2018 12:05
by ViktorV
Unfortunately, we cannot reproduce the issue on the latest version MyDAC 9.1.5.
In order for us to be able to give you a detailed answer, we need to have a sample demonstrating the specified behavior. Therefore, please compose a full sample demonstrating the described behavior and send it to us contact form https://devart.com/company/contactform.html. Also specify the exact versions of Windows, Windows Update and IDE.

Re: Connection to MARIADB with MYDAC

Posted: Fri 25 May 2018 15:37
by PDT be-right
Hello all,

In fact the issue with MYDAC and Windows 10 version 1803 is linked to security patch regarding SMB

If your network drive is not using SMB2, Windows 10 reject the socket connection.
Moving to SMB2 on the NAS or server resolve the issue and connection is then going on without problem.

This is then not a MYDAC issue.

Rgds
Patrick

Re: Connection to MARIADB with MYDAC

Posted: Tue 29 May 2018 10:33
by ViktorV
You are right.
This behavior is possible if you use the SMBv1 protocol. To solve the issue, you should make sure that you are using SMBv2 or SMBv3 protocols, but not SMBv1 (if you do not know how to do this, then contact your system administrator). This behavior is due to the architecture specificity of Windows 10, and we cannot influence this in any way.