470,587 Members | 2,238 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,587 developers. It's quick & easy.

When im trying to update the records from mysql to postgresql, the connection error

111 100+
Dear All,

Im vb.net 1.1,
When im trying to update the records from mysql to postgresql, the connection error:

the following code is Update data button click:


Dim myPgrConnect As New NpgsqlConnection
Dim myPgrCommand As New NpgsqlCommand
'myCon.ConnectionString = "Server=ip adress; Port=xxxx Database=xx; Userid=xx; password=xx; Protocol=x; SSL=false; Pooling=true; MinPoolSize=1; MaxPoolSize=20; Encoding=UNICODE; Timeout=15; SslMode=Disable;"
Dim strSQL As String
Dim record As String
Dim intRowsAffected As Integer
Dim ds As New DataSet
Dim myTable As DataTable

' Try
' If Plink.HasExited = False Then
' myPgrConnect.ConnectionString = "Server=ipadress; Port=xxxx; Database=xx; Userid=xx; Password=xx; Protocol=x; SSL=false; Pooling=true; MinPoolSize=1; MaxPoolSize=20; Encoding=UNICODE; Timeout=15; SslMode=Disable;"
' myPgrConnect.Open()
' End If



Now im getting Error as General error: Connection not open

Im getting an eception saying maxpoolsize parameter not supporting Mysql.data.dll

HELP ME...
Thnks in Advance..
Apr 24 '07 #1
0 1054

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by pg | last post: by
reply views Thread by David Linsin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.