473,378 Members | 1,578 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

How to enable the SSL connection

111 100+
In vb.net 1.1, im trying to upload the data from mysql to the postgresql database....

Postgresql is linked with the SSL connection..

now in the connection string if im trying to give the host as the one in the SSL, im getting an error: Unable to read the connection from the transport connection.

[code].....
Expand|Select|Wrap|Line Numbers
  1.         Dim myPgrConnect As New NpgsqlConnection("Server=localhost; Port=5432; Database=dalitch_css; User Id=dalitch; Password=dfndev")
  2.         Dim myPgrCommand As New NpgsqlCommand
  3.         Dim strSQL As String
  4.         Dim record As String
  5.         Dim intRowsAffected As Integer
  6.         Dim ds As New DataSet
  7.         Dim myTable As DataTable
  8.  
[ERROR].. myPgrConnect.Open()......[/ERROR]

Unable to read the connection from the transport connection.


plz help..
May 24 '07 #1
0 996

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

Similar topics

4
by: Dan Avni | last post by:
I have a site that has been working for a few years now. the web site is using a DB Access DLL written in VB. the DB's connection string is passed to the DLL using the COM+ enable object...
6
by: yyy | last post by:
Hello, Can someone please tell me how can I enable/ disable a LAN connection using C#.NET? Thanks in advance :D *-----------------------* Posted at: www.GroupSrv.com...
10
by: John Bunch | last post by:
I have installed Visual Studio 2005 Team Suite Beta 2, including SQL Server 2005 Express Edition April CTP, on Windows XP Professional SP2, including IIS 5.1. The SQL Server (SQLEXRPESS) service...
1
by: Rubbrecht Philippe | last post by:
Hi there, I developed an application that reeds configuration settings from a central database. Whenever the dataset is read, it's also saved as a local XML file on the machine. Whenever the...
1
by: Michael S. Scherotter | last post by:
I have a C# desktop application that I am using to connect to a web service. How do I enable SSL for the connection? Michael
2
by: psawant | last post by:
hi all. How do i enable pooling on mysql connection? this is my string. DRIVER={MySQL ODBC 3.51 Driver};" + "SERVER=dfdfd;" + "DATABASE=dbname;" + "UID=" + UserId +";" + "PASSWORD=ff;" +
0
by: 4AspNet | last post by:
Hello. I need to disable and then enable Local Network Connection (Ethernet). Here is my code: IPGlobalProperties computerProperties = IPGlobalProperties.GetIPGlobalProperties();...
0
by: Tony | last post by:
Hi all, My company changed the security policy for DB2 server in mainframe. To implement this policy in client, I have to enable encryption of Server authentication for the two different db2...
10
by: sowmyati | last post by:
HI All, I am new to javascript. I have snippet wherein i am giving a brief note on what i am trying to do. In the below have a variable by name stuff. trying to reset the page. Part of the code...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.