Меню

Microsoft odbc sql server driver ошибка связи

Mark SQL 1.11
MS SQL Server 2005

Несколько дней у пользователей на разных рабочих местах при работе в MARK SQL вываливаются периодичекси окна с ошибками:

SQL Error
State: ’08S01′
Message:[Microsoft][ODBC SQL Server Driver]Ошибка связи
Query: Select caption, query, coldwidths, colnames, retval, from, exdicts

SQL Error
State: ’08S01′
Message:[Microsoft][ODBC SQL Server Driver]Ошибка связи
Query: SELECT RDR_ID FROM READERS WHERE RDR_ID=’04098’

SQL Error
State: ‘01000’
Message:[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionWrite(send())
Query: SELECT INV_ID FROM INV WHERE T876p=’02384’

SQL Error
State: ‘01000’
Message:[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionRead(recv())
Query: Select ires from dbres where name=’FictDoc’

Причем ошибки в разных базах, в разных местах программы. Например, при вызове поиска по всем справочникам, вызове справочника студентов, при попытке сохранить карточку новой книги. Повторная попытка открыть справочник вызывает эту же ошибку. Если закрыть программу и открыть заново все работает.

Перезагрузили SQL Server, не помогло.

RRS feed

  • Remove From My Forums
  • Question

  • I’m getting this error in a VMWare ESX environment.  The application establishes a new connection for each transaction (yes, I know that’s not a good idea) but subsequent transactions generally succeed after I get a few of these failures. 

    I’m opening a support incident with VMWare, since it doesn’t seem to occur in a non-virtual environment, but I thought I’d post here too in case someone has seen something similar.

    Thanks for your help,
    Martin

All replies

  • We’re seeing the same thing as we’re supporting a company that runs an application that creates a new connection for each command.

    Their hardware setup is a Dell 1800 w/Dual 3GHz Xeons and raid array, connected to a Cisco 2948 catalyst switch for network.

    The database is running the 2005 version of msde… SQL Express i believe.

    A host of errors they get… at least a few times a day

    Error: 08S01 — Communication link failure

    Error: 01000 — ConnectionWrite (send())

  • I have the same issue. Got any solution.

  • I have the same issue at around 1400 connections to SQL.   Any resolution?

  • We have the same errors.. «Communication link failure» often preceeded by the «ConnectionWrite(send())» error.  This is on a 3rd party application so we don’t know the internals of how it functions.  Suspect that it likewise creates a new connection for each command but not really sure.

    The application runs on multiple app servers and they connect to a dedicated database server.

    Database server is 64 bit Server 2003 with 64 bit SQL 2005, 4 dual core processors, and 16 GB RAM.

    We have looked at almost everything and cannot isolate the problem or find a solution.

    Any suggestions would be appreciated.

  • I’ve got a customer with the same issue. They are the only customer I have running the queries over the WAN.

    I had one example where trying to connect to one SQLServer server I got the message. Trying to connect to another server, did not get the problem. Rebooting the client machine solved (and typically solves) this problem.

    If anyone has info on this, it would be greatly appreciated. Doesn’t look like this question’s getting much attention.

  • I got a similar message. I’m working on a VM and it says OLE DB error: OLE DB or ODBC error: Communication link failure; 08S01; Shared Memory Provider: No process is on the other end of the pipe.
    ; 08S01.

    When I try to process an Analysis Services cube.

    Any ideas anyone?

  • Same here, please respond if there is any available solution.

  • I have an application that uses ADO to create recordsets on the fly and throw them away after reading data, using one connection object.

    If used on a local

    SQL Server 2005, the communication link failure occures when network connection broke down between two uses of recordsets. The temporary disrupted network connection (eg. WLAN) has nothing to do with the communication between application and server (local), and the connection is not broken at the time the error occures. This can be reproduced by temporary disconnecting any network connection.

    The property Connection.Connected is still true after network connetcion failed temporary. So my workaround is to catch up the error at Recordset.Open, reconnect if Error.SQLState is 08S01 (setting

    Connection.Connected to false and true), and try again.

  • Martin, i know this is a very very old thread but we are seeing this same issue. Did VMWare ever help on the issue (you had said you had a case open with them)? Brent

  • TruckinITGuy (Brent)…  Did you ever determine a cause and get a fix for this?  We are having the same problem on ESX.  I found another article that suggested changing the value of SynAttackProtect (below).  We probably have that set
    to 1 for better security, I am going to try to set that back to 0 and see if that helps.  But if you made headway, I would appreciate knowing how.  Jeff


    The following parameters can be used with this registry value:

    • 0 (default value): No SYN attack protection
    • 1: Set SynAttackProtect to 1 for better protection against SYN attacks. This parameter causes TCP to adjust the retransmission of SYN-ACKS. When you set SynAttackProtect to 1,
      connection responses time out more quickly if the system detects that a SYN attack is in progress. Windows uses the following values to determine whether an attack is in progress:

      • TcpMaxPortsExhausted
      • TCPMaxHalfOpen
      • TCPMaxHalfOpenRetried
  • I know this thread is old.  Did anyone ever get this issue resolved?  I am experiencing the same issue with VM running on ESXi 3.5 and the system had been running fine since 2008. Nothing has changed in the system, but users are getting disconnected
    several times a day from our ERP system for two weeks now. SQL 2005 SP3 On Windows 2003 64 Bit.


    ra

    • Proposed as answer by

      Monday, October 28, 2013 5:48 PM

  • We are also getting the out of memory error when processing an AS cube that had previously run fine.

      «OLE DB error: OLE DB or ODBC error: Communication link failure; 08S01; Communication link failure; 08S01; Shared Memory Provider: No process is on the other end of the pipe.»

    The Windows System Event Viewer Log revealed a ‘Resource-Exhuastion-Detector’ Warning:

        «Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: sqlservr.exe (1280) consumed 13694660608 bytes, msmdsrv.exe (5464) consumed 10279247872 bytes, and Ssms.exe (4032)
    consumed 775794688 bytes.»

    We are expanded the PageFile on the VM and will see if that helps.  We are also rebooting the server and performing delayed monthly maintenance, so that may also contribute to the solution.

    The lack of memory has also caused the MSSQLSERVEROLAPService to crash and stop itself. 

        «The description for Event ID 22 from source MSSQLServerOLAPService cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the
    component on the local computer.

       If the event originated on another computer, the display information had to be saved with the event.

       The following information was included with the event:

       Internal error: An unexpected exception occurred.

       the message resource is present but the message is not found in the string/message table»

    ———-

    UPDATE: Expanding the PageFile on the VM seemed to have resolved the problem.  The AS Cube processed successfully.

    • Proposed as answer by
      ColSanders
      Tuesday, October 29, 2013 10:55 PM
    • Edited by
      ColSanders
      Wednesday, October 30, 2013 3:54 AM

Я
   Lex1C

30.08.06 — 17:25

Есть компьютер на котором периодически возникает такая ошибка (1с 7.7, под скулем):

SQL State 01000, Native 64, Message:[Microsoft][ODBC SQL Server Driver][Named Pipes] ConnectionTransact (GetOverLappedResult())

SQL State: 08S01

Native: 64

Message: [Microsoft][ODBC SQL Driver] Сбой связи.

В чем тут проблема?

   ТелепатБот

1 — 30.08.06 — 17:25

Книга знаний: 1С++. Объектно-ориентированное программирование на 1С 7.7

   Lex1C

2 — 30.08.06 — 17:29

UP!

   Ekaterina

3 — 30.08.06 — 17:41

(0) Убери протокол Named Pipes. Оставь только TCP/IP

   Любитель XML

4 — 30.08.06 — 17:42

(3) какая вы умная. Наверное ещё и красивая. Фотку покажите?

   avmlvm

5 — 30.08.06 — 17:42

(3) Не соглашусь 🙂 имхо тут проблема, что «рвётся» коннект данной машины с сервером… Как вариант — нужно отключить режим спячки у сетевухи 🙂

   Lex1C

6 — 30.08.06 — 17:43

(3) вопрос почему это проявляется только на одной машине из ста в таком случае?

   avmlvm

7 — 30.08.06 — 17:43

(4) Ты бы не флеймил бы в тематических ветках.. Уважай Правила форума 🙂

   avmlvm

8 — 30.08.06 — 17:43

(6) Чистай (5) 🙂

   igork1966

9 — 30.08.06 — 17:45

(3) Наверное осталось выяснить как поставить протокол «Named Pipes»   😉

   Lex1C

10 — 30.08.06 — 17:45

(8) режим спячки у сетевухи не включен.

   igork1966

11 — 30.08.06 — 17:46

(10) Небось сетевуха на Realtekе. Попробуй ее для начала поменять.

   igork1966

12 — 30.08.06 — 17:46

(11) + пережать провод

   Lex1C

13 — 30.08.06 — 17:47

+(10) хотя сори — посмотрел — действительно системе разрешено было отключать сетевуху.

   avmlvm

14 — 30.08.06 — 17:51

(13) хм-м-м.. кто бы «сумливался бы» :-)))

Типичная фича :-)))

   Ekaterina

15 — 30.08.06 — 17:56

(10) Не соглласна. Скорее всего версия драйвера ODBC старая.
Можно попытаться установить свежую версию MDAC

   Lex1C

16 — 30.08.06 — 17:57

(14) странно что система отрубала сетевуху при работе в 1С…

   avmlvm

17 — 30.08.06 — 18:10

(16) Да нет.. Она её всегда «рубила».. Но для других «случаев» это было не критично… Связь устанавливалась заново.. И для «обычных» ситуаций это было безразлично… Но вот для 1Ски — это было фатально.. Т.к. новое соединение «конфликтовало» с «незакрытым старым»…

   Lex1C

18 — 31.08.06 — 18:54

(17) проблема осталась 🙂 теперь просто «невосстановимая ошибка базы данных» уже не знаю на что и грешить..

   avmlvm

19 — 31.08.06 — 18:57

(18) тогда как вариант или карточка глючит или порт хаба… короче.. попробуй поставить другую сетевуху и воткнутся в сетку «по иному»

А «невостановимая ошибка БД» это вроде другая опера.. Ты прогонял тестирование БД средствами 1С?

   Lex1C

20 — 31.08.06 — 19:01

да не… база нормальная у других не вылетает в том то и дело

   Lex1C

21 — 31.08.06 — 19:02

+(20) работает в этой базе куча народу с других компов. а Вылетает только у этой. Есть у меня подозрение на встроенную сисовскую сетевую карту…

  

avmlvm

22 — 31.08.06 — 19:04

(22) во-во.. или на гнилом шнурке сидит.. либо порт хаба глючит.. короче.. пропробуй их «поменять»…

TurboConf — расширение возможностей Конфигуратора 1С

ВНИМАНИЕ! Если вы потеряли окно ввода сообщения, нажмите Ctrl-F5 или Ctrl-R или кнопку «Обновить» в браузере.

Ветка сдана в архив. Добавление сообщений невозможно.
Но вы можете создать новую ветку и вам обязательно ответят!
Каждый час на Волшебном форуме бывает более 2000 человек.

Alekssey

2 / 2 / 1

Регистрация: 11.12.2010

Сообщений: 59

1

20.11.2011, 18:14. Показов 2944. Ответов 0

Метки нет (Все метки)


Возникла проблема, при запуске приложения на с++ builder возникла Ошибка связи. В чем может быть проблема? Буквально вчера проект нормально запускался, а сегодня почему то ошибка связи!

__________________
Помощь в написании контрольных, курсовых и дипломных работ, диссертаций здесь



1



Programming

Эксперт

94731 / 64177 / 26122

Регистрация: 12.04.2006

Сообщений: 116,782

20.11.2011, 18:14

Ответы с готовыми решениями:

[Microsoft][ODBC SQL Server Driver]Timeout expired
Установил SQL Server 2000, пытаюсь выполнить запрос, через 30 сек. выдаёт такое вот сообщение…

Microsoft SQL Server, ошибка: 18461
Здравствуйте! Столкнулся с проблемой… возможно распространенной, но решения, которые нашел в…

Ошибка импортирования из ERwin в Microsoft SQL Server
Скриншот во вложениии

Ошибка при установке Microsoft SQL Server 2012
При попытке установить Microsoft SQL Server 2012 вылетает ошибка, при том что нужный Framework…

0

IT_Exp

Эксперт

87844 / 49110 / 22898

Регистрация: 17.06.2006

Сообщений: 92,604

20.11.2011, 18:14

Помогаю со студенческими работами здесь

Microsoft SQL Server 2008 ошибка различных версий
Установили на 12 ПК один и тот же Microsoft SQL Server 2008. При создании БД на одном ПК,…

Ошибка при установке Microsoft SQL Server 2012
Здравствуйте! У меня Ошибка при установке Microsoft SQL Server 2012

Microsoft SQL Server 2008 R2 Setup Ошибка Установки following
Microsoft SQL Server 2008 R2 Setup Ошибка Установки following

Облазил инет не нашел решения
1)…

Ошибка при установке Microsoft SQL Server 2008
Добрый день форумчане. Столкнулся с такой проблемой при установке Microsoft SQL Server 2008.
1….

Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:

1

  • Remove From My Forums
  • Question

  • About one month ago we did a fresh install on our SQL Server, formatted everything and started with a clean OS.  Ever since then we have this random communication link failure problem.  It seems to happen completely randomly.

    [Microsoft][ODBC SQL Server Driver]Communication link failure

    Anyone have any suggestions on what causes this? The server is completely patched with all drivers up to date.

    Specs: Server 2003, SQL 2005 SP3 9.00.4035 Standard Edition

Answers

  • Hi homeguards,

    «Communication link failure” means that an existing ODBC connection was closed, and we tried to use that connection. Usually an existing connection being dropped is either a failure of a client to sent packets to keep the connection open, or intermediate network hardware dropping a connection, or SQL Server having a problem.

    To determine who is dropping the connection, we needed simultaneous network captures on both the client and SQL Server, for the few moment before the issue, and during the issue.

    Generally, we can try these things to solve the issue:
    1.Disable TCP Chimney and other Scalable Network Features per http://support.microsoft.com/kb/951037/en-us
    2.Enable the SQL Server port in Firewall.
    3.Update the Network Interface Care driver.

    If there is anything unclear, pleaes feel free to ask.

    Thanks,
    Jin Chen


    Jin Chen — MSFT

    • Marked as answer by

      Monday, March 8, 2010 2:30 AM

RRS feed

  • Remove From My Forums
  • Question

  • Running application on client machine that is causing the following errors (Windows Server 2012 R2, SQL 2016:

    [Microsoft][ODBC SQL Server Driver]Communication link failure (-2147467259).

    [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionWrite (send()). (-2147467259). Cannot start more transactions
    on this session. (-2147168237)»

    Cannot start more transactions on this session. (-2147168237)

    Please help fix these errors.

All replies

  • usually I’ve seen this issue due to network unavailability

    Check if you’ve any issues with your network connection, latency etc


    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    —————————-
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

    • Marked as answer by

      Thursday, February 8, 2018 9:06 PM

    • Unmarked as answer by
      tygerl
      Monday, February 12, 2018 12:39 PM
  • Xi,

    Windows Automatic Updates were disabled to start.  I did notice that the NIC1 adapter was being accessed as a secondary adapter when it is the one with the connection so I moved this up to #1.  Network connection is now working better.

    However, when leaving the application running on the client computer after a short amount of time we start getting the errors: Connection failure (-2147467259),  [DBNETLIB][ConnectionWrite
    (send()).]General network error. Check your network documentation. (-2147467259),  
    SharedDBLogOut: Connection failure (-2147467259).

RRS feed

  • Remove From My Forums
  • Question

  • Running application on client machine that is causing the following errors (Windows Server 2012 R2, SQL 2016:

    [Microsoft][ODBC SQL Server Driver]Communication link failure (-2147467259).

    [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionWrite (send()). (-2147467259). Cannot start more transactions
    on this session. (-2147168237)»

    Cannot start more transactions on this session. (-2147168237)

    Please help fix these errors.

All replies

  • usually I’ve seen this issue due to network unavailability

    Check if you’ve any issues with your network connection, latency etc


    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    —————————-
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

    • Marked as answer by

      Thursday, February 8, 2018 9:06 PM

    • Unmarked as answer by
      tygerl
      Monday, February 12, 2018 12:39 PM
  • Xi,

    Windows Automatic Updates were disabled to start.  I did notice that the NIC1 adapter was being accessed as a secondary adapter when it is the one with the connection so I moved this up to #1.  Network connection is now working better.

    However, when leaving the application running on the client computer after a short amount of time we start getting the errors: Connection failure (-2147467259),  [DBNETLIB][ConnectionWrite
    (send()).]General network error. Check your network documentation. (-2147467259),  
    SharedDBLogOut: Connection failure (-2147467259).

I need your help on this guys!!!!

During the upload of the files to a database, this error occurs.
[Microsoft][ODBC SQL Server Driver]Communication link failure

Now here’s what I did so far based on the articles which I’ve been reading.
1. I restarted the servers that are involved.
2. I’ve added a new DNS connection to pattern to what they are using to connect to the database.

But all of these failed. I don’t know what to do because this is now critical and it’s been a week now.

Please help me…

asked Feb 16, 2011 at 7:19

Musikero31's user avatar

try this one, it work for me……

Set Cnn = New ADODB.Connection
Cnn.Open "Provider=SQLNCLI10;Server=" & txtServer & ";Database=" & cmbDatabase.Text & ";MARS Connection=True;DataTypeCompatibility=80;UID=" & txtUser & ";PWD=" & txtPassword & ";"

Didier Ghys's user avatar

Didier Ghys

30.2k9 gold badges73 silver badges79 bronze badges

answered Jan 20, 2012 at 2:16

anton's user avatar

If you receive the following error messages in one form or another in a job or SSIS package:

«Communication link failure», «TCP Provider: The specified network name is no longer available.»

A very likely cause is the code being run was created in BIDS which uses Visual Studio 2008 as its SDK base and the package or job was moved to a SQL Server 2012 server which is Visual Studio 2012 based.

You cannot simply go into the package and change a connections server name in this case. BIDS (aka VS 2008) uses SQL Server connection Provider=SQLNCLI10.1. TFS (aka VS 2012) uses SQL Server connection Provider=SQLNCLI11.1. If you are refactoring a package that was originally created in VS 2008 please do so in VS 2012 and drop and recreate the connections using the 2012 provider, it is backward compatible.The 2008 provider is not forward compatible. If you are creating a new package please do so in VS 2012. This, most often, will solve the problem.

lonesomeday's user avatar

lonesomeday

230k49 gold badges313 silver badges315 bronze badges

answered May 30, 2014 at 15:37

Doug's user avatar

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Microsoft net framework ошибка 0x800c006 windows 7
  • Microsoft ole db provider for sql server ошибка подключения hresult 80004005