We recommend you to download new OraDirect .NET version (4.75).
It supports Visual Studio 2008 Service Pack 1. You can download it from http://www.devart.com/oranet/download.html
If the problem persists, please let us know.
Search found 9854 matches
- Thu 21 Aug 2008 11:21
- Forum: dotConnect for Oracle
- Topic: about create ado.net entity data model
- Replies: 25
- Views: 16127
- Thu 21 Aug 2008 08:57
- Forum: dotConnect for PostgreSQL
- Topic: .Net Framework 3.5 SP 1 Problem
- Replies: 3
- Views: 3623
PostgreSQLDirect .NET version 3.75 is released. It supports Visual Studio 2008 Service Pack 1. You can download it from http://www.devart.com/pgsqlnet/download.html
More about new release: http://www.devart.com/forums/viewtopic.php?t=12707
More about new release: http://www.devart.com/forums/viewtopic.php?t=12707
- Thu 21 Aug 2008 08:52
- Forum: dotConnect for MySQL
- Topic: Error with Build 4.70.31, EDM, and VS 2008 SP1
- Replies: 9
- Views: 5222
MyDirect .NET version 4.85 is released. It supports Visual Studio 2008 Service Pack 1.
You can download it from http://www.devart.com/mysqlnet/download.html
More about new release: http://www.devart.com/forums/viewtopic.php?t=12706
You can download it from http://www.devart.com/mysqlnet/download.html
More about new release: http://www.devart.com/forums/viewtopic.php?t=12706
- Thu 21 Aug 2008 08:42
- Forum: dotConnect for PostgreSQL
- Topic: VS2008 SP1 + .NET 3.5 SP1
- Replies: 2
- Views: 3072
PostgreSQLDirect .NET version 3.75 is released. It supports Visual Studio 2008 Service Pack 1. You can download it from http://www.devart.com/pgsqlnet/download.html
More about new release: http://www.devart.com/forums/viewtopic.php?t=12707
More about new release: http://www.devart.com/forums/viewtopic.php?t=12707
- Thu 21 Aug 2008 07:34
- Forum: dotConnect for Oracle
- Topic: Problem after upgrading to VS2008 SP1 RTM
- Replies: 15
- Views: 15313
OraDirect .NET version 4.75 is released. It supports Visual Studio 2008 Service Pack 1. You can download it from http://www.devart.com/oranet/download.html
More about new release: http://devart.com/forums/viewtopic.php?t=12705
More about new release: http://devart.com/forums/viewtopic.php?t=12705
- Wed 20 Aug 2008 15:21
- Forum: dotConnect for MySQL
- Topic: Unable to establish SSH Connection
- Replies: 13
- Views: 7995
- Wed 20 Aug 2008 14:18
- Forum: dotConnect for Oracle
- Topic: Preserve blanks in CHAR columns
- Replies: 6
- Views: 2995
- Tue 19 Aug 2008 12:46
- Forum: dotConnect for MySQL
- Topic: Unable to establish SSH Connection
- Replies: 13
- Views: 7995
- Tue 19 Aug 2008 12:28
- Forum: dotConnect for MySQL
- Topic: Unable to establish SSH Connection
- Replies: 13
- Views: 7995
- Tue 19 Aug 2008 08:01
- Forum: dotConnect for Oracle
- Topic: Network Error: a connection attempt failed
- Replies: 3
- Views: 2851
Our advice is to try this ping procedure. It creates simple connection using .NET functions. It is considered if the procedure doesn't work there are network problems or it's something wrong with your computer settings.
private void Ping(string host, int port) {
if (host.Length == 0 || port == 0) {
MessageBox.Show("Hostname or port was not specified", "CoreLab Ping demo");
return;
}
TcpClient client = new TcpClient();
try {
tbLog.Text += string.Format("---------\r\nConnecting to '{0}:{1}'...\r\n", host, port);
if (Regex.IsMatch(host + ".", @"^(([0-9]){1,3}\.){4}$")) {
IPAddress ipAddress = IPAddress.Parse(host);
client.Connect(ipAddress, port);
}
else
client.Connect(host, port);
MessageBox.Show("Ready to check connection.\r\nWait few seconds and press 'OK' to ping the selected host.", "CoreLab Ping demo");
Application.DoEvents();
tbLog.Text += "Sending ping...\r\n";
client.GetStream().WriteByte(255);
client.GetStream().Flush();
tbLog.Text += "Connected.\r\n";
}
catch (Exception ex) {
tbLog.Text += "Error occured:\r\n" + ex.Message + "\r\n";
}
finally {
if (client != null)
client.Close();
}
tbLog.SelectionStart = tbLog.Text.Length - 1;
tbLog.ScrollToCaret();
}
private void Form1_Load(object sender, EventArgs e) {
Ping("db", 1521);
}
private void Ping(string host, int port) {
if (host.Length == 0 || port == 0) {
MessageBox.Show("Hostname or port was not specified", "CoreLab Ping demo");
return;
}
TcpClient client = new TcpClient();
try {
tbLog.Text += string.Format("---------\r\nConnecting to '{0}:{1}'...\r\n", host, port);
if (Regex.IsMatch(host + ".", @"^(([0-9]){1,3}\.){4}$")) {
IPAddress ipAddress = IPAddress.Parse(host);
client.Connect(ipAddress, port);
}
else
client.Connect(host, port);
MessageBox.Show("Ready to check connection.\r\nWait few seconds and press 'OK' to ping the selected host.", "CoreLab Ping demo");
Application.DoEvents();
tbLog.Text += "Sending ping...\r\n";
client.GetStream().WriteByte(255);
client.GetStream().Flush();
tbLog.Text += "Connected.\r\n";
}
catch (Exception ex) {
tbLog.Text += "Error occured:\r\n" + ex.Message + "\r\n";
}
finally {
if (client != null)
client.Close();
}
tbLog.SelectionStart = tbLog.Text.Length - 1;
tbLog.ScrollToCaret();
}
private void Form1_Load(object sender, EventArgs e) {
Ping("db", 1521);
}
- Tue 19 Aug 2008 06:47
- Forum: dotConnect for Oracle
- Topic: Problem after upgrading to VS2008 SP1 RTM
- Replies: 15
- Views: 15313
- Tue 19 Aug 2008 06:15
- Forum: dotConnect for MySQL
- Topic: Getting a List of Field Names
- Replies: 9
- Views: 4590
One of the possible solutions to get columns list:
mysqlCommand.CommandText = "select .....";
List columns = new List();
using(MySqlDataReader reader = mysqlCommand.ExecuteReader(CommandBehavior.SchemaOnly)) {
DataTable table = reader.GetSchemaTable();
foreach(DataRow row in table.Rows)
columns.Add((string)row["ColumnName"]);
}
mysqlCommand.CommandText = "select .....";
List columns = new List();
using(MySqlDataReader reader = mysqlCommand.ExecuteReader(CommandBehavior.SchemaOnly)) {
DataTable table = reader.GetSchemaTable();
foreach(DataRow row in table.Rows)
columns.Add((string)row["ColumnName"]);
}
- Mon 18 Aug 2008 15:45
- Forum: dotConnect for Oracle
- Topic: Problem after upgrading to VS2008 SP1 RTM
- Replies: 15
- Views: 15313
- Mon 18 Aug 2008 15:40
- Forum: dotConnect for PostgreSQL
- Topic: VS2008 SP1 + .NET 3.5 SP1
- Replies: 2
- Views: 3072