Problems with connection
Re: Problems with connection
Please clarify the version of dotConnect for Oracle you use.
Note that according Revision history:
8.4.437 18-Jun-15 The IPv6 protocol is supported in the Direct mode
8.5.535 12-Nov-15 The bug with a connection via DNS name in the IPv6 network in the Direct mode is fixed
Note that according Revision history:
8.4.437 18-Jun-15 The IPv6 protocol is supported in the Direct mode
8.5.535 12-Nov-15 The bug with a connection via DNS name in the IPv6 network in the Direct mode is fixed
-
- Posts: 39
- Joined: Wed 31 May 2017 14:33
Re: Problems with connection
We use the 9.14.1228. Newer version we can't use because every version has bugs which we have already reported
Re: Problems with connection
The bug that you had reported was fixed in the dotConnect for Oracle 9.14.1228
viewtopic.php?t=44493
So you can use also the newest build: 9.14.1298
https://www.devart.com/dotconnect/oracle/download.html
We couldn't reproduce the issue described in this topic in our environment.
If I understood correctly, the following happens in your case:
OCI mode:
Host=fe80::900d:6ed2:637b:851%12; - works
Host=host.domain.local; - works
Direct mode:
Server=fe80::900d:6ed2:637b:851%12; - works
Server=host.domain.local; - doesn't work
Is it right?
I suppose the problem may be related to the configuration of your DNS.
Let's do a test like this:
1.) In the your local host file (C:\Windows\System32\drivers\etc\hosts) specify
2.) In Direct mode specify "Server=oraip6;" in the connection string.
Does it work?
viewtopic.php?t=44493
So you can use also the newest build: 9.14.1298
https://www.devart.com/dotconnect/oracle/download.html
We couldn't reproduce the issue described in this topic in our environment.
If I understood correctly, the following happens in your case:
OCI mode:
Host=fe80::900d:6ed2:637b:851%12; - works
Host=host.domain.local; - works
Direct mode:
Server=fe80::900d:6ed2:637b:851%12; - works
Server=host.domain.local; - doesn't work
Is it right?
I suppose the problem may be related to the configuration of your DNS.
Let's do a test like this:
1.) In the your local host file (C:\Windows\System32\drivers\etc\hosts) specify
Code: Select all
fe80::900d:6ed2:637b:851%12 oraip6
Does it work?
-
- Posts: 39
- Joined: Wed 31 May 2017 14:33
Re: Problems with connection
In the test program I have the newest version.
If I make your test I have the same situation
- ODP.Net works
- OCI Mode works
- Direct mode does not work. The error message changes:
To get the connection string I use the following code:
If I make your test I have the same situation
- ODP.Net works
- OCI Mode works
- Direct mode does not work. The error message changes:
To get the connection string I use the following code:
Code: Select all
var oraCSB = new Devart.Data.Oracle.OracleConnectionStringBuilder() { Direct = directMode, UserId = "user", Password = "password" };
oraCSB.Server = "oraip6;
oraCSB.Sid = "sid";
oraCSB.Port = 1521;
oraCSB.LicenseKey = "licence"
-
- Posts: 39
- Joined: Wed 31 May 2017 14:33
Re: Problems with connection
Is there any news?
Re: Problems with connection
We still could not reproduce such behavior in our environment. 0x80004005 Network error may caused by some ipv6 network settings. The investigation is in progress.
-
- Posts: 39
- Joined: Wed 31 May 2017 14:33
Re: Problems with connection
If you need help and you have an test program with additional logging, I can launch it on the server and send you the log files
Re: Problems with connection
Please, let us know:
- Do you use installed assemblies or NuGet packages?
- Target Framework of your application.
-
- Posts: 39
- Joined: Wed 31 May 2017 14:33
Re: Problems with connection
- nuget packages
- .net 4.72
- .net 4.72
Re: Problems with connection
Thank you for your report. We have reproduced the issue in the conditions only:
- NuGet packages
- .NET Framework project
Re: Problems with connection
Try the latest version of dotConnect for Oracle 9.14.1312
https://www.devart.com/dotconnect/oracle/download.html
(or update NuGet packages)
The bug with ipv6 in Direct mode was fixed.
https://www.devart.com/dotconnect/oracle/download.html
(or update NuGet packages)
The bug with ipv6 in Direct mode was fixed.