Sql server код ошибки 0x80004005

  • Remove From My Forums
  • Question

  • Hi,

    I have received the following error with when executing an SSIS package with a SQL Server database as a data source where I have read only access; —

    Error: 0xC0202009 at my_SSIS_component, my_database: SSIS Error Code

    DTS_E_OLEDBERROR.  An OLE DB error has occurred.

    Error code: 0x80004005.
    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 10.0» 

    Hresult: 0x80004005  Description: «Protocol error in TDS stream».

    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 10.0»

    Hresult: 0x80004005  Description: «Communication link failure».
    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 10.0»

    Hresult: 0x80004005  Description: «TCP Provider: An existing connection was forcibly closed by the remote host.
    «.
    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 10.0»  Hresult: 0x80004005  Description: «Communication link failure».
    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 10.0»  Hresult: 0x80004005  Description: «TCP Provider: The semaphore timeout period has expired.
    «.
    Error: 0xC0047038 at my_SSIS_component, SSIS.Pipeline: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component «my_database» (1) returned error code 0xC0202009.  The component returned a failure code when the pipeline engine
    called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.

    Service operating system; —

    Microsoft SQL Server 2008 (SP2) — 10.0.4064.0 (X64)   Microsoft Corporation  Standard Edition (64-bit) on Windows NT 6.0 <X64> (Build 6002: Service Pack 2)
    Where I understand Windows NT 6.0 SP 2 is also known as Windows Server 2008 Service Pack 2.

    The error appears to occur intermittantly. Any guidance on how to arrive at a resolution would be greatly appreciated.

    Kind Regards,

    Kieran.


    If you have found any of my posts helpful then please vote them as helpful. Kieran Patrick Wood MCTS BI, PGD SoftDev (Open), MBCS, MCC http://uk.linkedin.com/in/kieranpatrickwood

    • Edited by

      Wednesday, October 5, 2011 2:04 PM

Answers

  • Hi,

    The solution was that the VPN between a Microsoft TMG firewall and a Cisco ASA (mixed vendor) under load kept collapsing the VPN tunnel.
    The fix was to replace Microsoft TMG with a cisco Firewall so the VPN is now cisco-to-cisco, resulting in a much more stable connection. Also a router was purchased with a higher capacity to cope with the additional traffic.

    I then performed an initial test where I sucessfully copied a 1/2 tb file using Windows file manager from the source server to the destination server over the new Virtual Private network connection. Where performing a file copy when the problem initially
    arose is where I convinced my collegues that the core issue was network related and not related to the configuration of my SSIS package.

    After receiving the results of the successful 1/2 tb file copy. I then executed my SSIS package over night over this new VPN connection, and the package reported successful execution within SQL Server Job Agent.

    Hopefully people out there will use this solution and hopefully have less pain than me resolving it.


    If you have found any of my posts helpful then please vote them as helpful. Kieran Patrick Wood MCTS BI, PGD SoftDev (Open), MBCS http://uk.linkedin.com/in/kieranpatrickwood

    • Edited by
      Kieran Patrick Wood
      Monday, March 12, 2012 8:36 PM
    • Marked as answer by
      Kieran Patrick Wood
      Monday, March 12, 2012 8:36 PM

RRS feed

  • Remove From My Forums
  • Question

  • What does error code 0x80004005 mean?

Answers

  • Karimullah,

    It’s unclear from your post if you’re even using SQL Server or Integration Services.  If you’re experiencing an issue with Norton, you should contact the vendor for assistance.  This forum is for questions and issues on SQL Server Integration Services.

All replies

  • What are you trying to do? 0x80004005 could mean a variety of things from a failed login to an Access database that is exclusively locked by another process. Please provide additional details about your scenario.

  • At random places in my packages, I randomly (not always) get this general netwrok error (I am including the first line just to show the line right above the error line):

    Information: 0x400490F4 at Data Flow Task — my task 1, Lookup — my lookup task 1 [234]: component «Lookup — my lookup task 1» (234) has cached 13312 rows.

    Error: 0xC0202009 at Data Flow Task — my task 1, Lookup — my lookup task 1 [234]: An OLE DB error has occurred. Error code: 0x80004005

    An OLE DB record is available. Source: «Microsoft OLE DB Provider for SQL Server» Hresult: 0x80004005 Description: «[DBNETLIB][ConnectionRead (WrapperRead()).]General network error. Check your network documentation.»

    Error: 0xC020824E at Data Flow Task — my task 1, Lookup — my lookup task 1 [234]: OLE DB error occurred while populating internal cache. Check SQLCommand and SqlCommandParam properties.

    Error: 0xC004701A at Data Flow Task — my task 1, DTS.Pipeline: component «Lookup — my lookup task 1» (234) failed the pre-execute phase and returned error code 0xC020824E.

    FYI — I am using June CTP.

    thanks,
    Nitesh

  • i am trying to update my norton internet security antivirus

    but it is unable to update

    when i search for that one command is there to resolve when in run the command it is saying that code

    the command is         regsvr32 %windir%system32msxml3.dll

    error is call to dllregisterserver is failed with erro code 0x80004005

  • Karimullah,

    It’s unclear from your post if you’re even using SQL Server or Integration Services.  If you’re experiencing an issue with Norton, you should contact the vendor for assistance.  This forum is for questions and issues on SQL Server Integration Services.

  • Hi David,

    I am having a problem updating a fresh install of Windows XP SP2.  I was successful in the fresh install and the subsequent update to XP3.  Unfortunately I seem to be having issues now.  The updates download  with no problem. Unfortunately none are installed.  It basically freezes at the attempt to install,  when the dialogue box indicated initializating the install.
    The information, screen shots and copy of windows update log are at this location for your perusal.
    http://www.dslreports.com/forum/r20768460-XP-Pro-MS-Update-Not-Initializing

    All to say that error code in the title is the error code I am seeing in the windows update log!!

    Any suggestion or help you can give would be appreciated.

    Thanks!

  • Hello,

    Have you solve your issue ? I’m facing the same problem with my Integration services job since i did the upgrade on Visual Studio 2010, on the lookup specially.

    I have been searching for a while, but can’t find a solution.

The SQL Server error code 0x80004005 login timeout expired is a common error that occurs when trying to connect to a SQL Server instance. This error is usually caused by a problem with the connection settings or a problem with the SQL Server instance itself. There are several reasons why this error may occur.

1. Incorrect SQL Server connection string

One of the most common causes of login issues is an incorrect connection string. This can happen when the server name, port number, or login credentials are incorrect. To resolve this issue, double-check your connection string and make sure that it is correct.

For example, in this tutorial on how to connect to SQL Server using Python, a SQL Server connection string looks like this:

import pyodbc

connection = pyodbc.connect('Driver={SQL Server};'
                            'Server=localhost;'
                            'Database=Expert-Only;'
                            'Trusted_Connection=yes;')

Check the connection string to avoid SQL Server error code 0x80004005 login timeout expired

Check the connection string to avoid SQL Server error code 0x80004005 login timeout expired

Whereas with SSIS connections, a connection string looks like this. Exemple taken from the ConnectionString property of a Native OLE DB 11.0 conneciton to SQL Server.

Data Source=localhost;Initial Catalog=Expert-Only;Provider=SQLNCLI11.1;Integrated Security=SSPI;Application Name=SSIS-Package1-{49247E1C-7749-4A4C-B9BC-8A83F7A1190F}localhost.Expert-Only;Auto Translate=False;

2. SQL Server error login timeout instance issue

Another common cause of the SQL Server error login timeout expired is a problem with the SQL Server instance. I.e., on server side. This can be caused by a number of things such as the SQL Server service not running, the server being down for maintenance, or a problem with the network connection.

In this case, you should check the status of the SQL Server service, check the server’s event logs, and check the network connection.

3. Client side settings not properly set

A third cause of this error is a problem with the client-side settings. This can be caused by a problem with the client-side network settings or a problem with the client-side firewall. To resolve this issue, check the client-side network settings and make sure that they are configured correctly, and check the client-side firewall to make sure that it is not blocking the connection.

Conclusion on the SQL Server error login timeout

In conclusion, the SQL Server error code 0x80004005 login timeout expired is a common error that can be caused by several different issues. By checking the connection settings, the SQL Server instance, and the client-side settings, you can often resolve this error and restore the connection to the SQL Server instance.

More tutorials on SQL Server and T-SQL

  • SQL Server data types with code examples
  • Manage strings with more than 8000 characters
  • Store a SQL Server column in a variable
  • Create a SQL Server database with a script

To go further and use programming to manage data, you can use Python and T-SQL to manage SQL Server tables and data.

I have an SSIS package that is being executed by an SQL Job which runs twice a day. I recently updated the SSIS package by removing a where clause of a Select statement in it. Now the results have around 1800 rows compared tot he 650 of before. When I execute the new package on my local machine everything runs fine. But when I put it on the Prod server, it does not run and gives me Hresult: 0x80004005 Description: «Login timeout expired» error.

This error is usually thrown when remote access is not enabled but it is. The Job is running under my account, so the rights should not be a problem. Also, the package was running without problems before and I only changed a where clause that makes the Table larger by a thousand rows, so I should not have a login timeout error for that.

I know it is not the remaining space on the server because if I change the config file of the SSIS package and direct it the the production database, everything works fine.

Again, that problem is bugging me because when I put the old package with the old where clause, everything works fine.

Anyone has any idea what might be causing the problem?

Here is the Log entry:

Executed as user: Services. ...sion 9.00.3042.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 1:49:21 PM Error: 2011-08-04 13:50:12.28 Code: 0xC0202009 Source: Brd Load Connection manager "DataBase" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Login timeout expired". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "TCP Provider: A connection att... Process Exit Code 1. The step failed.

Microsoft SQL Server 2005 Developer Edition Microsoft SQL Server 2005 Enterprise Edition Microsoft SQL Server 2005 Enterprise X64 Edition Microsoft SQL Server 2005 Evaluation Edition Microsoft SQL Server 2005 Express Edition Microsoft SQL Server 2005 Standard Edition Microsoft SQL Server 2005 Workgroup Edition SQL Server 2008 R2 Datacenter SQL Server 2008 R2 Developer SQL Server 2008 R2 Enterprise SQL Server 2008 R2 Express SQL Server 2008 R2 Express with Advanced Services SQL Server 2008 Developer SQL Server 2008 Enterprise SQL Server 2008 Express SQL Server 2008 R2 Standard SQL Server 2008 R2 Web SQL Server 2008 R2 Workgroup SQL Server 2008 Standard SQL Server 2008 Web SQL Server 2008 Workgroup SQL Server 2012 Developer SQL Server 2012 Enterprise SQL Server 2012 Standard SQL Server 2012 Web SQL Server 2012 Enterprise Core Еще…Меньше

Симптомы

Рассмотрим следующий сценарий:

  • Запустить пакет Microsoft SQL Server Integration Services (SSIS) в SQL Server 2012, SQL Server 2008 R2, SQL Server 2008 или SQL Server 2005.

  • Пакет служб SSIS содержит задачу потока данных.

  • Задача выполняет запрос многомерных выражений (MDX) в SQL Server Analysis Services (SSAS) с помощью анализа служб поставщика Microsoft OLE DB для SQL Server (MSOLAP) в диспетчер соединений служб SSIS.

В этом случае может появиться сообщение об ошибке, подобное одному из следующих.

Сообщение об ошибке 1

Ошибка: 0xC0202009 в задачу потока данных, источник OLE DB [1]: Ошибка OLE DB. Код ошибки: 0x80004005.
Доступна запись OLE DB. Источник: «поставщик Microsoft OLE DB для служб Analysis Services 2005 «Hresult: 0x80004005 Описание: «Внутренняя ошибка: произошла непредвиденная ошибка (файл «pcrsstore.cpp», строка 325 функции «PCRSStore::UnLock»).».
Ошибка: 0xC004701A данных потока задачи служб DTS. Конвейера: компонент «Источник OLE DB» (1) Сбой на этапе pre-execute и код ошибки 0xC0202009.

Сообщение об ошибке 2

HRESULT: 0x80004005 Описание: «не удается подключиться к серверу анализа. Имя сервера ‘giclssasbaugi’ не найден. Убедитесь, что введенное имя является правильным, а затем повторите попытку.»

Сообщение об ошибке 3

Ошибка: 0xC0202009 в задачу потока данных, источник OLE DB [1]: Ошибка OLE DB. Код ошибки: 0x80040E21.
Ошибка: 0xC004701A данных потока задачи служб DTS. Конвейера: компонент «Источник OLE DB» (1) Сбой на этапе pre-execute и код ошибки 0xC0202009.

Временное решение

Чтобы обойти эту проблему, добавьте следующее предложение в строке подключения поставщик MSOLAP в диспетчере соединений:

Format=Tabular;


Статус

Корпорация Майкрософт подтверждает, что это проблема продуктов Майкрософт, перечисленных в разделе «Относится к».

Нужна дополнительная помощь?

  • Remove From My Forums
  • Question

  • Hi,

    I have received the following error with when executing an SSIS package with a SQL Server database as a data source where I have read only access; —

    Error: 0xC0202009 at my_SSIS_component, my_database: SSIS Error Code

    DTS_E_OLEDBERROR.  An OLE DB error has occurred.

    Error code: 0x80004005.
    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 10.0» 

    Hresult: 0x80004005  Description: «Protocol error in TDS stream».

    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 10.0»

    Hresult: 0x80004005  Description: «Communication link failure».
    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 10.0»

    Hresult: 0x80004005  Description: «TCP Provider: An existing connection was forcibly closed by the remote host.
    «.
    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 10.0»  Hresult: 0x80004005  Description: «Communication link failure».
    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 10.0»  Hresult: 0x80004005  Description: «TCP Provider: The semaphore timeout period has expired.
    «.
    Error: 0xC0047038 at my_SSIS_component, SSIS.Pipeline: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component «my_database» (1) returned error code 0xC0202009.  The component returned a failure code when the pipeline engine
    called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.

    Service operating system; —

    Microsoft SQL Server 2008 (SP2) — 10.0.4064.0 (X64)   Microsoft Corporation  Standard Edition (64-bit) on Windows NT 6.0 <X64> (Build 6002: Service Pack 2)
    Where I understand Windows NT 6.0 SP 2 is also known as Windows Server 2008 Service Pack 2.

    The error appears to occur intermittantly. Any guidance on how to arrive at a resolution would be greatly appreciated.

    Kind Regards,

    Kieran.


    If you have found any of my posts helpful then please vote them as helpful. Kieran Patrick Wood MCTS BI, PGD SoftDev (Open), MBCS, MCC http://uk.linkedin.com/in/kieranpatrickwood

    • Edited by

      Wednesday, October 5, 2011 2:04 PM

Answers

  • Hi,

    The solution was that the VPN between a Microsoft TMG firewall and a Cisco ASA (mixed vendor) under load kept collapsing the VPN tunnel.
    The fix was to replace Microsoft TMG with a cisco Firewall so the VPN is now cisco-to-cisco, resulting in a much more stable connection. Also a router was purchased with a higher capacity to cope with the additional traffic.

    I then performed an initial test where I sucessfully copied a 1/2 tb file using Windows file manager from the source server to the destination server over the new Virtual Private network connection. Where performing a file copy when the problem initially
    arose is where I convinced my collegues that the core issue was network related and not related to the configuration of my SSIS package.

    After receiving the results of the successful 1/2 tb file copy. I then executed my SSIS package over night over this new VPN connection, and the package reported successful execution within SQL Server Job Agent.

    Hopefully people out there will use this solution and hopefully have less pain than me resolving it.


    If you have found any of my posts helpful then please vote them as helpful. Kieran Patrick Wood MCTS BI, PGD SoftDev (Open), MBCS http://uk.linkedin.com/in/kieranpatrickwood

    • Edited by
      Kieran Patrick Wood
      Monday, March 12, 2012 8:36 PM
    • Marked as answer by
      Kieran Patrick Wood
      Monday, March 12, 2012 8:36 PM
  • Remove From My Forums

locked

Microsoft SQL Server Native Client 11.0 — Error code: 0x80004005.

  • Question

  • Hi Experts,

    While executing the package developed in BIDS2008 and executed from server with 2012 configuration getting below error, which is volatile. Sometimes package executes without any error. Any help would be appreciated, Thanks in advance: 

       Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred.

    Error code: 0x80004005.

    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 11.0

    »  Hresult: 0x80004005  Description: «Communication link failure».

    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 11.0

    »  Hresult: 0x80004005  Description: «TCP Provider: An existing connection was f

    orcibly closed by the remote host.

    • Moved by

      Wednesday, November 12, 2014 10:27 PM
      Moving this to the SSIS forum as it’s related to that topic.

Answers

    • Marked as answer by
      Katherine Xiong
      Thursday, November 20, 2014 11:02 AM

I have an SSIS package that is being executed by an SQL Job which runs twice a day. I recently updated the SSIS package by removing a where clause of a Select statement in it. Now the results have around 1800 rows compared tot he 650 of before. When I execute the new package on my local machine everything runs fine. But when I put it on the Prod server, it does not run and gives me Hresult: 0x80004005 Description: «Login timeout expired» error.

This error is usually thrown when remote access is not enabled but it is. The Job is running under my account, so the rights should not be a problem. Also, the package was running without problems before and I only changed a where clause that makes the Table larger by a thousand rows, so I should not have a login timeout error for that.

I know it is not the remaining space on the server because if I change the config file of the SSIS package and direct it the the production database, everything works fine.

Again, that problem is bugging me because when I put the old package with the old where clause, everything works fine.

Anyone has any idea what might be causing the problem?

Here is the Log entry:

Executed as user: Services. ...sion 9.00.3042.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 1:49:21 PM Error: 2011-08-04 13:50:12.28 Code: 0xC0202009 Source: Brd Load Connection manager "DataBase" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Login timeout expired". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "TCP Provider: A connection att... Process Exit Code 1. The step failed.

  • Remove From My Forums
  • Question

  • I’m using a configuration which specifies a connect string to a config database via an environment variable:

    Data Source=QASQLONEPRI;Initial Catalog=SSISConfig;Provider=SQLNCLI10.1;FailoverPartner=QASQLONEFAL;Integrated Security=SSPI;

    When I run my package from a remote machine, with a config environment variable set up as above I get, the following, this is despite the fact that I can connect to the database server: QASQLONEPRI from the remote machine using management studio without
    any issues, I have also tried using the OLDEDB client, but this leads to the same problem also. Can someone please advise as to how I can resolve this issue.

    Error: 2012-08-22 11:34:10.54
       Code: 0xC0202009
       Source: ImportMain Connection manager «SSISConfig»
       Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred.
     Error code: 0x80004005.
    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 10.0
    »  Hresult: 0x80004005  Description: «Login timeout expired».
    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 10.0
    »  Hresult: 0x80004005  Description: «A network-related or instance-specific err
    or has occurred while establishing a connection to SQL Server. Server is not fou
    nd or not accessible. Check if instance name is correct and if SQL Server is con
    figured to allow remote connections. For more information see SQL Server Books O
    nline.».
    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 10.0
    »  Hresult: 0x80004005  Description: «Named Pipes Provider: Could not open a con
    nection to SQL Server [53]. «.
    End Error
    Warning: 2012-08-22 11:34:10.54
       Code: 0x80012059
       Source: ImportMain
       Description: Failed to load at least one of the configuration entries for the
     package. Check configuration entries for «Inbound Interface Config» and previou
    s warnings to see descriptions of which configuration failed.
    End Warning
    Started:  11:33:09 AM
    Finished: 11:34:10 AM
    Elapsed:  60.875 seconds

Answers

  • Looks like a problem with your connection string. Do the following.

    1) Create a text file on your remote machine. Change its extension to .udl

    2) Open the file, which will open a dialog box. Put in the details and connect to your database.

    3) Once the conenction is successfully eastablished, close the file.

    4) Open the file in notepad. It will have a connection string in it. Copy this connection string and update your environment variable on the server where your SSIS packages are deployed with this value.

    This should work.


    http://btsbee.wordpress.com/

    • Marked as answer by

      Tuesday, August 28, 2012 12:24 PM

  • Remove From My Forums
  • Question

  • I’m using a configuration which specifies a connect string to a config database via an environment variable:

    Data Source=QASQLONEPRI;Initial Catalog=SSISConfig;Provider=SQLNCLI10.1;FailoverPartner=QASQLONEFAL;Integrated Security=SSPI;

    When I run my package from a remote machine, with a config environment variable set up as above I get, the following, this is despite the fact that I can connect to the database server: QASQLONEPRI from the remote machine using management studio without
    any issues, I have also tried using the OLDEDB client, but this leads to the same problem also. Can someone please advise as to how I can resolve this issue.

    Error: 2012-08-22 11:34:10.54
       Code: 0xC0202009
       Source: ImportMain Connection manager «SSISConfig»
       Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred.
     Error code: 0x80004005.
    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 10.0
    »  Hresult: 0x80004005  Description: «Login timeout expired».
    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 10.0
    »  Hresult: 0x80004005  Description: «A network-related or instance-specific err
    or has occurred while establishing a connection to SQL Server. Server is not fou
    nd or not accessible. Check if instance name is correct and if SQL Server is con
    figured to allow remote connections. For more information see SQL Server Books O
    nline.».
    An OLE DB record is available.  Source: «Microsoft SQL Server Native Client 10.0
    »  Hresult: 0x80004005  Description: «Named Pipes Provider: Could not open a con
    nection to SQL Server [53]. «.
    End Error
    Warning: 2012-08-22 11:34:10.54
       Code: 0x80012059
       Source: ImportMain
       Description: Failed to load at least one of the configuration entries for the
     package. Check configuration entries for «Inbound Interface Config» and previou
    s warnings to see descriptions of which configuration failed.
    End Warning
    Started:  11:33:09 AM
    Finished: 11:34:10 AM
    Elapsed:  60.875 seconds

Answers

  • Looks like a problem with your connection string. Do the following.

    1) Create a text file on your remote machine. Change its extension to .udl

    2) Open the file, which will open a dialog box. Put in the details and connect to your database.

    3) Once the conenction is successfully eastablished, close the file.

    4) Open the file in notepad. It will have a connection string in it. Copy this connection string and update your environment variable on the server where your SSIS packages are deployed with this value.

    This should work.


    http://btsbee.wordpress.com/

    • Marked as answer by

      Tuesday, August 28, 2012 12:24 PM

На ИТС часто даются описания кодов ошибок, но они не всегда исчерпывающие. В этой статье мы будем пытаться продолжать «исчерпывать» 🙂

При эсклуатации баз данных 1С вы можете сталкнуться с такой ситуацией:

Сеанс работы завершен администратором.
по причине:
Соединение с сервером баз данных разорвано администратором
Microsoft OLE DB Provider for SQL Server: Неопознанная ошибка
HRESULT=80004005

Признаки проблемы: нельзя выгрузить в dt

Внимание! Ошибок с кодом 80004005 уйма, более подробно классофикацию я описал здесь http://www.gilev.ru/1c/mssql/errsql.htm . Здесь же мы говорим именно о «неопознанной ошибке» 🙂

Сотрудники 1С рекомендуют решать проблему так:

1. Проверить конфигурацию на наличие некорректной информации (мусора). Для этого следует выполнить команду «Проверка конфигурации» с установленным флажком «Проверка логической целостности конфигурации». При выявлении проблем будет выдано сообщение. Некорректная информация при этом будет удалена автоматически, однако следует обеспечить доступность для изменения корневого объекта конфигурации (напимер, при работе с хранилищем его следует захватить).

2. Если Ваша конфигурация находится на поддержке, следует подобным образом проверить конфигурацию поставщика. Для этого в настройке поддержки следует сохранить конфигурацию поставщика в cf файл, загрузить его в новую базу и выполнить описанную в пункте 1 процедуру. В случае, если было получено сообщение об исправлении, значит конфигурация поставщика содержит некорректную информацию. В этом случае следует снять Вашу конфигурацию с поддержки и заново поставить путем объединения со свежим релизом конфигурации поставщика. В настоящее время все релизы выпускаемые 1С проходят проверку и выпускаются без данной проблемы.

3. Также с этой ситуацией пересекается следующая ситуация:

10007066 Запись данных, содержащих колонки типа ХранилищеЗначения
Проблема:
При использовании СУБД MS SQL SERVER при записи объекта базы данных, содержащего несколько колонок типа ХранилищеЗначения, данные для которых получены из файлов, может происходить ошибка
Ошибка СУБД:Microsoft OLE DB Provider for SQL Server: String data length mismatchHRESULT=80004005и аварийное завершение работы программы.
Дата публикации: 2008-11-13

Включив технологический журнал на время загрузки, можно определить таблицу, в которой содержатся такие хранилища. Найдите средствами MS SQL Server Query Analizer в этой таблице колонки типа image. Для каждой колонки типа image выполните запрос вида:

select top 10 DATALENGTH(_Fld4044)
from _InfoReg4038
order by DATALENGTH(_Fld4044) desc

 
Нюансы: обратите внимание, что «Стандартные проверки» платформой (chdbfl, в конфигураторе) упорно говорят, что с базой все ОК.

Суть проблемы: важно, что под это сообщение об ошибке могут подпадать разные причины, но у них есть общая часть для 1С — это не достаточно оперативной памяти. А еще точнее неэффектиное использование ресурсов памяти. Отсюда косвенные способы победить проблему: путем рестарта сервера (на некотрое время становиться больше доступной памяти) или перейти на 64-разрядный сервер приложений.

1С:Предприятие 8.2. Лицензия на сервер (x86-64)

По опыту проблема связана с хранением данных в реквизите хранилище значений либо наличием в таблице config двоичных данных БОЛЬШЕ 120 mb.

Обобщенные рекомендации, если рекомендации от 1С не помогли (проделать следующие действия в указанном порядке):
1. Выключить все фоновый задачи у всех баз

В 8.1.11 появился переключатель «запрет на фоновые задания» в
момент создания базы.

Готов пояснить, фоновые задания сами по себе не зло, но регламентные процедуры
с полнотекстовым поиском — вещь в себе — и память она может через какое время
съедать ресурсы rphost.exe, что на другие операции не останеться, и просто
базу блокировать
т.е. другими словами, после первого шага уже можно проверять — возможно проблема «уйдет».
2. Перезапустить сервер

Второй шаг является частным случаем для вашего случая и после него тоже
есть смысл проверять работоспособность. Однако поскольку существуют утечки памяти http://www.gilev.ru/1c/memleak, то через некоторое время после рестарта пролема может вернуться.
3) делаем бэкап средствами sql

Делать резервное копирование рекомендую при любых действиях, когда может потребоваться «возврат» к предыдущему состоянию данных

4) снимаем базу с поддержки, выгружаем cf

убиваем в менежмент консоли базе данных в таблице config запись более 120Мб, делаем «загрузить конфигурацию» (не объединение) убиваем в менежмент консоли базе данных в таблице config запись более 120Мб, делаем «загрузить конфигурацию» (не объединение)

вот пример работоспособности этого приема

http://partners.v8.1c.ru/forum/thread.jsp?id=543293

или

1. Открыть конфигратор;
2. Снял конфигурацию с поддержки, ПРИ ЭТОМ КОНФИГУРАЦИЮ НЕ СОХРАНЯЛ!
3. Далее Сохранить конфигурацию в файл (не сохраняя измененной конфигурации);
4. В SQL для требуемой базы выполнил следующую команду:
DELETE FROM dbo.Config WHERE DataSize > 125829120
5. Загрузить сохраненную конфигурацию обратно.

Взято с http://www.forum.mista.ru/topic.php?id=465608

можно попробывать и более радикальный шаг здесь:
удаляем (в менежмент консоли) в базе данных таблицу «config»

DROP TABLE [dbo].[Config]
5) делаем «загрузить конфигурацию» (не объединение) из cf

после этого проверяем, проблема уходит.

Здравствуйте, хотел установить Microsoft SQL Server 2019, но столкнулся с некоторыми ошибками:

Кликните здесь для просмотра всего текста

1)Полнотекстовый и сематический поиск
Описание проблемы:[ Ошибка установки Экземпляры служб ядра СУБД SQL Server
Служба не ответила на запрос своевременно.
Код ошибки: 0x80004005
Причина:Возникла ошибка для одной из зависимостей компонента, вызвавшая сбой процесса его установки.

2)Служб ядра СУБД
Описание проблемы:Ошибка установки Экземпляры служб ядра СУБД SQL Server
Служба не ответила на запрос своевременно.
Код ошибки: 0x80004005
Причина:Возникла ошибка при установке компонента.

3)Репликация SQL Server
Описание проблемы:Ошибка установки Экземпляры служб ядра СУБД SQL Server
Служба не ответила на запрос своевременно.
Код ошибки: 0x80004005

4)Обозреватель SQL
Описание проблемы: Ошибка установки Обозреватель SQL Server
Служба не ответила на запрос своевременно.
Код ошибки: 0x84BB0001
Причина:Возникла ошибка при установке компонента.

Лог установки:

Кликните здесь для просмотра всего текста

Overall summary:
Final result: Ошибка: дополнительные сведения см. ниже
Exit code (Decimal): -2068119551
Start time: 2022-04-24 13:25:09
End time: 2022-04-24 13:40:10
Requested action: Install

Setup completed with required actions for features.
Troubleshooting information for those features:
Next step for FullText: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
Next step for SQLEngine: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
Next step for Replication: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
Next step for Browser: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.

Machine Properties:
Machine name: DESKTOP-4625JV3
Machine processor count: 4
OS version: Майкрософт Windows 10 Pro (10.0.19043)
OS service pack:
OS region: Россия
OS language: русский (Россия)
OS architecture: x64
Process architecture: 64-разрядная версия
OS clustered: Нет

Product features discovered:
Product Instance Instance ID Feature Language Edition Version Clustered Configured

Package properties:
Description: Microsoft SQL Server 2019
ProductName: SQL Server 2019
Type: RTM
Version: 15
SPLevel: 0
Installation location: C:SQL2019ExpressAdv_RUSx64setup
Installation edition: Express

Product Update Status:
Не обнаружено.

Параметры пользовательского ввода:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: true
AGTSVCACCOUNT: NT AUTHORITYNETWORK SERVICE
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Disabled
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: TABULAR
ASSVCACCOUNT: <пусто>
ASSVCPASSWORD: <пусто>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <пусто>
ASTELSVCACCT: <пусто>
ASTELSVCPASSWORD: <пусто>
ASTELSVCSTARTUPTYPE: 0
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Automatic
CLTCTLRNAME: <пусто>
CLTRESULTDIR: <пусто>
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT: <пусто>
CLTSVCPASSWORD: <пусто>
CLTWORKINGDIR: <пусто>
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE:
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT: <пусто>
CTLRSVCPASSWORD: <пусто>
CTLRUSERS: <пусто>
ENABLERANU: true
ENU: false
EXTSVCACCOUNT: <пусто>
EXTSVCPASSWORD: <пусто>
FEATURES: SQLENGINE, REPLICATION, FULLTEXT
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <пусто>
FTSVCACCOUNT: NT ServiceMSSQLFDLauncher$SQLEXPRESS
FTSVCPASSWORD: <пусто>
HELP: false
IACCEPTPYTHONLICENSETERMS: false
IACCEPTROPENLICENSETERMS: false
IACKNOWLEDGEENTCALLIMITS: false
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:Program FilesMicrosoft SQL Server
INSTALLSHAREDWOWDIR: C:Program Files (x86)Microsoft SQL Server
INSTALLSQLDATADIR: <пусто>
INSTANCEDIR: C:Program FilesMicrosoft SQL Server
INSTANCEID: SQLEXPRESS
INSTANCENAME: SQLEXPRESS
ISMASTERSVCACCOUNT: NT AUTHORITYNetwork Service
ISMASTERSVCPASSWORD: <пусто>
ISMASTERSVCPORT: 8391
ISMASTERSVCSSLCERTCN: <пусто>
ISMASTERSVCSTARTUPTYPE: Automatic
ISMASTERSVCTHUMBPRINT: <пусто>
ISSVCACCOUNT: NT AUTHORITYNetwork Service
ISSVCPASSWORD: <пусто>
ISSVCSTARTUPTYPE: Automatic
ISTELSVCACCT: <пусто>
ISTELSVCPASSWORD: <пусто>
ISTELSVCSTARTUPTYPE: 0
ISWORKERSVCACCOUNT: NT AUTHORITYNetwork Service
ISWORKERSVCCERT: <пусто>
ISWORKERSVCMASTER: <пусто>
ISWORKERSVCPASSWORD: <пусто>
ISWORKERSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <пусто>
MATRIXNAME: <пусто>
MRCACHEDIRECTORY:
NPENABLED: 0
PBDMSSVCACCOUNT: <пусто>
PBDMSSVCPASSWORD: <пусто>
PBDMSSVCSTARTUPTYPE: 0
PBENGSVCACCOUNT: <пусто>
PBENGSVCPASSWORD: <пусто>
PBENGSVCSTARTUPTYPE: 0
PBPORTRANGE: <пусто>
PBSCALEOUT: false
PID: *****
QUIET: false
QUIETSIMPLE: false
ROLE: AllFeatures_WithDefaults
RSINSTALLMODE: DefaultNativeMode
RSSVCACCOUNT: <пусто>
RSSVCPASSWORD: <пусто>
RSSVCSTARTUPTYPE: Automatic
SAPWD: <пусто>
SECURITYMODE: <пусто>
SQLBACKUPDIR: <пусто>
SQLCOLLATION: Cyrillic_General_CI_AS
SQLJAVADIR: <пусто>
SQLMAXDOP: 0
SQLMAXMEMORY: 2147483647
SQLMINMEMORY: 0
SQLSVCACCOUNT: NT AUTHORITYNETWORK SERVICE
SQLSVCINSTANTFILEINIT: true
SQLSVCPASSWORD: *****
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: DESKTOP-4625JV3Administrator
SQLTELSVCACCT: NT ServiceSQLTELEMETRY$SQLEXPRESS
SQLTELSVCPASSWORD: <пусто>
SQLTELSVCSTARTUPTYPE: Automatic
SQLTEMPDBDIR: <пусто>
SQLTEMPDBFILECOUNT: 1
SQLTEMPDBFILEGROWTH: 64
SQLTEMPDBFILESIZE: 8
SQLTEMPDBLOGDIR: <пусто>
SQLTEMPDBLOGFILEGROWTH: 64
SQLTEMPDBLOGFILESIZE: 8
SQLUSERDBDIR: <пусто>
SQLUSERDBLOGDIR: <пусто>
SUPPRESSPAIDEDITIONNOTICE: false
SUPPRESSPRIVACYSTATEMENTNOTICE: false
TCPENABLED: 0
UIMODE: AutoAdvance
UpdateEnabled: true
UpdateSource: MU
USEMICROSOFTUPDATE: false
USESQLRECOMMENDEDMEMORYLIMITS: false
X86: false

Configuration file: C:Program FilesMicrosoft SQL Server150Setup BootstrapLog20220424_132407ConfigurationFile.in i

Detailed results:
Feature: Полнотекстовый и семантический поиск
Status: Сбой
Reason for failure: Возникла ошибка для одной из зависимостей компонента, вызвавшая сбой процесса его установки.
Next Step: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
Component name: Экземпляры служб ядра СУБД SQL Server
Component error code: 0x80004005
Error description: Служба не ответила на запрос своевременно.
Error help link: https://go.microsoft.com/fwlin… 0xDC80C325

Feature: Службы ядра СУБД
Status: Сбой
Reason for failure: Возникла ошибка при установке компонента.
Next Step: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
Component name: Экземпляры служб ядра СУБД SQL Server
Component error code: 0x80004005
Error description: Служба не ответила на запрос своевременно.
Error help link: https://go.microsoft.com/fwlin… 0xDC80C325

Feature: Репликация SQL Server
Status: Сбой
Reason for failure: Возникла ошибка для одной из зависимостей компонента, вызвавшая сбой процесса его установки.
Next Step: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
Component name: Экземпляры служб ядра СУБД SQL Server
Component error code: 0x80004005
Error description: Служба не ответила на запрос своевременно.
Error help link: https://go.microsoft.com/fwlin… 0xDC80C325

Feature: Обозреватель SQL
Status: Сбой
Reason for failure: Возникла ошибка при установке компонента.
Next Step: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
Component name: Обозреватель SQL Server
Component error code: 0x84BB0001
Error description: Служба не ответила на запрос своевременно.
Error help link: https://go.microsoft.com/fwlin… 0xDC80C325

Feature: Модуль записи SQL
Status: Пройдено

Feature: Пакет SDK средств связи клиента SQL
Status: Пройдено

Feature: Средства связи клиента SQL
Status: Пройдено

Feature: Файлы поддержки программы установки
Status: Пройдено

Rules with failures or warnings:

Rules report file: C:Program FilesMicrosoft SQL Server150Setup BootstrapLog20220424_132407SystemConfigurationC heck_Report.htm

Rules report file:Image: Info(4 фото)

Что я предпринимал до того как написать на форм:
1) Удалял Microsoft SQL Server 2019 через панель управления и переустанавливал (не помогло)
2) Удалял все что связано с Microsoft SQL Server 2019 через панель управления (не помогло)
3) Менял

AGTSVCACCOUNT:

NT AUTHORITYNETWORK SERVICE (не помогло)
4) Вручную включить службы SQL: Агент SQL Server (SQLEXPRESS)(ошибка 1068) и SQL Server (SQLEXPRESS) (ошибка 1053)

После завершения установки, устанавливается: SQL Server 2019 Configuration Manager, но не запускается(Отказано в доступе:
[0x8007005]
Все установщики запускал от имени администратора
Надеюсь кто-то сможет помочь, так как без SQL очень тяжело. Если нужна еще какая дополнения информация из логов, буду предоставлять

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

Challenge

When backing up a machine running a Microsoft SQL server where TLS 1.0 has been disabled, a job may fail with the error code 0x80004005 [TLS 1.0].
 


The following warning will be found on the server that is being protected by either Veeam Backup & Replication or Veeam Agent for Microsoft Windows, the path to the file containing this warning is listed below.

  • For a VM being processed by Veeam Backup & Replication:
        %ProgramData%VeeamBackupVeeamGuestHelper_<dd.mm.yyyy>.log
  • For a server being backed up using Veeam Agent for Microsoft Windows:
        %ProgramData%VeeamEndpoint<job_name>Job.Backup.log
INFO    Connecting to mssql, connection string: Provider='sqloledb';Data Source='(local)SQLINSTANCENAME';Integrated Security='SSPI';Persist Security Info=False, timeout: 15 
WARN        Code = 0x80004005 WARN        Code meaning = Unspecified error 
WARN        Source = Microsoft OLE DB Provider for SQL Server 
WARN        Description = [DBNETLIB][ConnectionOpen (SECCreateCredentials()).]SSL Security error. 
WARN    COM error:  Code: 0x80004005

Cause

The SQL Server being protected by Veeam is using a SQL OLE DB provider which does not support TLS 1.2

Solution

Behavior Change Starting with Veeam Backup & Replication v11

Starting with Veeam Backup & Replication v11 the Microsoft OLE DB Provider (MSOLEDBSQL) will be used first to initiate communication. In all previous version only the SQLOLEDB provider was used. Also, starting with Veeam Backup & Replication v11 the software will first attempt to use MSOLEDBSQL first, then failover to Native SQL Client Provider, and then failover to using SQLOLEDB Provider. If Veeam Backup & Replication fails over to using SQLOLEDB provider the job will report «Using deprecated provider» warning.

It is therefore advisable if you are facing this issue to upgrade to Veeam Backup & Replication v11.

The direct solution to this situation is to review available updates for the SQL Server that is having this issue and ensure that TLS 1.2 is supported by the Microsoft OLE DB provider for SQL Server.

Please review: https://support.microsoft.com/en-us/help/3135244/tls-1-2-support-for-microsoft-sql-server
 


As a workaround, it is possible to force Veeam to request that the ‘Native SQL Client Provider’ be used instead of SQLOLEDB. This is done by adding a registry value to the Guest OS of the machine being protected by Veeam.

Please review the scenarios below and use the location and value specified:

  1. For a VM being protected by Veeam Backup & Replication:
    • Location: HKLMSOFTWAREVeeamVeeam Backup and Replication
    • Value: UseSqlNativeClientProvider
    • Type: DWORD
    • Data: 1
       
  2. For machines being protected (managed or standalone) by Veeam Agent for Microsoft Windows:
    • Location: HKLMSOFTWAREVeeamVeeam Endpoint Backup
    • Value: UseSqlNativeClientProvider
    • Type: DWORD
    • Data: 1
       
  3. For SQL Failover Clusters protected by Veeam Agent for Microsoft Windows via a job in Veeam Backup & Replication with the option Backup logs periodically an additional value must be specified (the value in  HKLMSOFTWAREVeeamVeeam Endpoint Backup also still remains the place).
    • Location: HKLMSOFTWAREVeeamVeeam Backup and Replication
    • Value: UseSqlNativeClientProvider
    • Type: DWORD
    • Data: 1

No server restart is required, registry key will be checked on next job run.

More Information

To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Понравилась статья? Поделить с друзьями:
  • Sql server agent ошибка 1067
  • Sql server 2012 ошибка 1067
  • Sql error 54001 ошибка превышен предел глубины стека
  • Sql server 2012 коды ошибок
  • Sql error 42p01 ошибка отношение не существует