10054 Microsoft Odbc Sql Server Driver

04.01.2020by
10054 Microsoft Odbc Sql Server Driver

It may not help, but I have been experiencing a similar problem with a VB6 application that runs on either Access or SQLserver but uses linked tables from access to SQLServer to extract data for emailing data between remote users.

I believe the problem is due to the client's network even though packet sniffing and other network diagnostics have failed to find the problem. It could be due to an odd lost network packet or a maybe a timeout when the server (SQLServer?) polls the client PC.

Microsoft
  1. [Microsoft] [ODBC SQL Server Driver ][SQL Server ][DBNETLIB][ConnectionOpen(Connect()).] SQL Server does not exists or access denied. I am beginner to this replication technology, but I have to set up in my organisation. Please anybody help me in figuring out the actual problem and resolving it. Thanks in advance. Prashant N M. View 4 Replies.
  2. [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]ConnectionRead (recv()) It is caused by calling the execute method of an ADOConnection object instantiated in Delphi 6. The code looks like this.
  3. @choplan We do not support pdo_odbc, so we cannot help if the problem is caused by that extension. However, if your script runs fine from the command line and only fails when connecting to the apache module, you may need to edit the apache configuration files (apache may have its own php.ini file, which is separate from the one used by the PHP binary).

01000: [Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated. Microsoft FRx requires that the segments be in sequential order. It's SQL Server 2008 R2. Everything is default - since it was just one table I didn't change anything but permissions. I connect to it via ODBC in Access. If I leave the table open when viewing the data, I get the following error: ODBC - Call Failed. [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionRead (recv()).

I get around the problem with the linked tables by testing that they OK before they are used, by running query 'SELECT TOP 1 * FROM tablename' for each table. If there are any errors raised I delete and recreate the linked tables in the program. This is OK for me because the linked tables are not used very often. In your case it maybe something you can do when a connection error is raised.

Also, when the VB application runs against SQLServer I changed it from using ODBC to OLEDB because OLEDB has two useful ADO recordset properties ('Preserve On Commit' and 'Preserve On Abort'). When error -2147467259 is raised for a recordset ('operation not allowed when object is closed' I think) I simply close and open the ado connection object and carry on processing as normal (the connection is re-established).

I hope this gives you some ideas.

Peter

Active3 years, 6 months ago

I am trying to create / modify a system data source for my application which needs to connect to our Microsoft SQL Express 2014 database through an ODBC data source.The connection used to work before we enabled the SSL encryption flow but,now that we have an encrypted link, the connection does not work anymore.

Here are some details:

  • We run Microsoft SQL Server express 2014 SP1 with the latest cumulative update (CU #3) (which was necessary so that we could deactivate SSL 3.0 and TLS 1.0 and run only with TLS 1.1 and TLS 1.2)
  • The database instance is a named instance, configured to run with a TCP/IP connection and a fixed port.
  • We enabled the 'Force Encryption' option and configured the certificate through the 'Sql Server Configuration Manager'
  • We can successfully establish a connection to the database either using Management Studio or the SQL command line utility
  • We disabled all usage of SSL/TLS prior to version TLS 1.1 done through Microsoft Schannel. This required us to update SQL Express 2014 SP1 to the latest cumulative update (CU #3)
  • The ODBC data source we try to configure (through ODBC data source Administrator) is a 'System DSN' and uses the 'SQL server' driver and target the exact same server name as the one working in management studio (and whose server name corresponds to the machine FQDN which is reflected in the certificate CN value)
  • The Version indicated for the SQL Server ODBC driver is 'Microsoft SQL Server ODBC Driver Version 06.03.9600'
  • I am testing the connection directly through the ODBC data source Administrator tool.
  • The first test I runs are run on the exact same machine as the one hosting the database server.

We get two consecutive error message in the Microsoft SQL Server Login:

I went through all the literature I could find but cannot find a solution.

Jigsaw puzzle golden edition serial key. Choose the games you like, download them and be sure that all games from MyPlayCity.com are totally free and have NO time limits. We have an enormous selection of over 1500 free downloadable games with astonishing graphics, original gameplay and unique features!

EDIT 27/01/2016 16:30

Following erg suggestion, I tried to use the last MS SQL Server Native Client version (11.00.2100 on my system), but it still does not resolve the issue. I experience another issue though (whether or not I force the strong encryption on the client side results in the same error):

user2457451
user2457451user2457451

Sql Server Message 10054

1 Answer

So, I finally got it working after struggling a little bit more.

First of all, it appears that there is another CU available (CU4) for SQL Server Express 2014 SP1.

I did download it and install it, but it did not resolve my problem: as soon as I deactivated TLS 1.0 and below version ODBC did not work.

Strangely, though the CU3 and installation of .NET 4.6 allowed me to successfully log in in Management Studio, when I tried to execute the xp_readerrorlog query, it actually failed.

What I did to solve my issue was to follow malthus's answer on another related stack overflow questionhttps://dba.stackexchange.com/questions/93127/sql-server-service-won-t-start-after-disabling-tls-1-0-and-ssl-3-0 (3rd answer from the top).

I therefore activated the local security policy on my computer and managed to get the links to my SQL db working.

Now, I got IIS working along my own service and client working.

BTW, if somebody needs a more user friendly way of activating SSL/TLS version(s) and cryptographic algorithms on Windows, I stumbled uppon a nice GUI application which does not required to use regedit for it:

https://www.nartac.com/Products/IISCrypto. It's free and I am not a a Nartac Software employee, manager or shareholder.

I hope this will help!

EDIT Feb 25, 2016

It looks like the latest cumulative update (CU5 available at https://support.microsoft.com/en-us/kb/3130926) removes the need to activate the FIPS option for the System Cryptography.

I discovered this since I had to deactivate FIPS to enable another required functionnality while still relying on a TLS 1.2 connection. Indeed, it appears that activating the FIPS option for the System Cryptography prevents .NET Framework to successfuly make use of some system algorithms (such as SHA256Managed).

In addition, according to some discussions seen around the web (i.e. http://blogs.technet.com/b/secguide/archive/2014/04/07/why-we-re-not-recommending-fips-mode-anymore.aspx) it is not recommended to activate FIPS (except to strictly comply with some governmental recommendations) since it breaks applications relying on non-FIPS validated implementations of cryptographic algorithms, which, however are provided in Microsoft system libraries.

Community

Sql Error Code 10054

user2457451user2457451

10054 Microsoft Odbc Sql Server Driver Free

Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

10054 Microsoft Odbc Sql Server Driver Download

Not the answer you're looking for? Browse other questions tagged sql-serversslodbc or ask your own question.

Comments are closed.