1073548784 номер ошибки

null

MS SQL error 1073548784 access to path … denied

Ошибка с кодом -1073548784 

ms sql error 1073548784 access to path ... denied 

при выполнении планов обслуживания (maintenance plan) в ms sql server.

Несмотря на пользователей от которых работают сервисы, необходимо дать разрешения на уровне файловой системы для пользователя NT ServiceMSSQLSERVER на уровне rw или full controll 

  • Remove From My Forums
  • Question

  • Any assistance with this issue would be greatly appreciated. TIA!

    Server:                 DBServer-1

    Task Detail:        Reorganize index on Local server connection

    Databases:         dbA,dbB,dbC,dbD,dbE,master,model,msdb

    Object: Tables and views

    Compact large objects

    Error No:             -1073548784               

    Error Message:  Executing the query «ALTER INDEX [PK_Residential] ON [dbo].[Residential] REORGANIZE WITH ( LOB_COMPACTION = ON )» failed with the following error: «A severe error occurred on the current command.  The results, if any, should be discarded.». Possible failure reasons: Problems with the query, «ResultSet» property not set correctly, parameters not set correctly, or connection not established correctly.

    Windows Server 2003 Standard Edition w/ SP2

    SQL Server 2005 Standard Edition (9.0.3054)

Answers

    • Proposed as answer by

      Wednesday, April 24, 2013 12:50 PM

    • Marked as answer by
      Ed Price — MSFTMicrosoft employee
      Tuesday, April 30, 2013 3:51 AM
  • Remove From My Forums
  • Question

  • Hello,

    I am running SQL Server 2008 R2 (Microsoft SQL Server Management Studio      10.50.2500.0
    Strumenti client di Microsoft Analysis Services      10.50.2500.0
    Microsoft Data Access Components (MDAC)      6.1.7601.17514
    Microsoft MSXML      3.0 6.0
    Microsoft Internet Explorer      9.0.8112.16421
    Microsoft .NET Framework      2.0.50727.5456
    Sistema operativo      6.1.7601)

    I have two backup plans, one Daily, with Differential backup, and one Weekly with FULL backup. I keep all files for 30 days.

    Since I want to be really really sure of backing up my precious data, I installed Cobian Backup, and created a task to daily zip and transfer the (incremental) files via FTP to some other place in the world.

    Since  running Cobian Backup, the Daily plan has broken. It complains that it cannot find the backup information any more, and returns a -1073548784 error.

    the log files are not very helpful:

    «Possible failure reasons: Problems with the query, «ResultSet» property not set correctly, parameters not set correctly, or connection not established correctly.»

    Why is the zip and ftp shorting the SQL?

    Any help is welcome!

    thanks

Answers

  • Hello,

    the error detail for -1073548784 suggests that SQL Server is unable to find the latest Full backup, on which to run the Differential.

    I tried disabling the Volume Shadow Copy option on Cobian Backup. Now the differential backup on SQL Server works.

    Something will not work if one of the two processes try to access the backup files in the same time frame. I will have to find some workaround for this.

    My conclusion is:

    SQL Server 2008 R2 differential backups are incompatible with Volume Shadow Copy service on Windows Server 2008 R2.

    Somehow, somewhere Volume Shadow Copy (or Cobian Backup’s use of it) breaks the ability of SQL Server to find the latest Full backup.

    • Marked as answer by

      Friday, September 28, 2012 1:20 PM

SQL Server 2014 Developer — duplicate (do not use) SQL Server 2014 Enterprise — duplicate (do not use) SQL Server 2014 Standard — duplicate (do not use) Еще…Меньше

Проблемы

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

  • Функция групп доступности AlwaysOn используется в Microsoft SQL Server 2014.

  • У вас есть группа доступности, для параметра резервного копирования которой задано значение «предпочитать вспомогательный» или «только вторичный».

  • Вы создаете план обслуживания, использующий задачу резервного копирования базы данных для создания резервной копии базы данных, а база данных входит в группу доступности.

  • Вы выбираете параметр «проверять целостность резервных копий», а затем очищаете параметр «для баз данных доступности, не учитывать приоритеты реплики для резервного копирования и резервного копирования на основных параметрах задачи» резервная копия базы данных «.

  • Вы выполняете план обслуживания.

В этом случае появляется следующее сообщение об ошибке:

Номер ошибки:-1073548784Error сообщение: выполнение запроса «<инструкции запроса>» завершилось сбоем со следующей ошибкой: «не удается открыть устройство резервного копирования <путь к файлу резервной копии>». Ошибка операционной системы 2 (системе не удается найти указанный файл). Убедитесь, что база данных аварийно завершает работу. Возможные причины сбоя: проблемы с запросом, свойство «ResultSet» задано неправильно, параметры заданы неправильно или соединение установлено неправильно.

Решение

Эта проблема впервые устранена в следующих накопительных обновлениях SQL Server:

  • Накопительное обновление 2 для SQL Server 2014 с пакетом обновления 1 (SP1)

  • Накопительное обновление 9 для SQL Server 2014

Статус

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

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

Нужны дополнительные параметры?

Изучите преимущества подписки, просмотрите учебные курсы, узнайте, как защитить свое устройство и т. д.

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

Перейти к контенту

SQL Server 2014 Developer SQL Server 2014 Enterprise SQL Server 2014 Standard More…Less

Symptoms

Consider the following scenario:

  • You use the AlwaysOn Availability Groups feature in Microsoft SQL Server 2014.

  • You have an availability group whose backup-preference setting is set as «Prefer Secondary» or «Secondary only.»

  • You create a maintenance plan that uses a backup database task to back up a database, and the database belongs to the availability group.

  • You select the «Verify backup integrity» option, and click to clear the «For availability databases, ignore replica priority for backup and backup on primary settings» option for the backup database task.

  • You execute the maintenance plan.

In this scenario, you receive the following error message:

Error Number:
-1073548784
Error Message:
Executing the query «<Query statement>» failed with the following error: «Cannot open backup device ‘<File path of the backup file>’. Operating system error 2(The system cannot find the file specified.). VERIFY DATABASE is terminating abnormally.». Possible failure reasons: Problems with the query, «ResultSet» property not set correctly, parameters not set correctly, or connection not established correctly.

Resolution

The issue was first fixed in the following cumulative updates of SQL Server:

  • Cumulative Update 2 for SQL Server 2014 SP1

  • Cumulative Update 9 for SQL Server 2014

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the «Applies to» section.

Need more help?

  • Remove From My Forums
  • Question

  • Hello,

    I am running SQL Server 2008 R2 (Microsoft SQL Server Management Studio      10.50.2500.0
    Strumenti client di Microsoft Analysis Services      10.50.2500.0
    Microsoft Data Access Components (MDAC)      6.1.7601.17514
    Microsoft MSXML      3.0 6.0
    Microsoft Internet Explorer      9.0.8112.16421
    Microsoft .NET Framework      2.0.50727.5456
    Sistema operativo      6.1.7601)

    I have two backup plans, one Daily, with Differential backup, and one Weekly with FULL backup. I keep all files for 30 days.

    Since I want to be really really sure of backing up my precious data, I installed Cobian Backup, and created a task to daily zip and transfer the (incremental) files via FTP to some other place in the world.

    Since  running Cobian Backup, the Daily plan has broken. It complains that it cannot find the backup information any more, and returns a -1073548784 error.

    the log files are not very helpful:

    «Possible failure reasons: Problems with the query, «ResultSet» property not set correctly, parameters not set correctly, or connection not established correctly.»

    Why is the zip and ftp shorting the SQL?

    Any help is welcome!

    thanks

Answers

  • Hello,

    the error detail for -1073548784 suggests that SQL Server is unable to find the latest Full backup, on which to run the Differential.

    I tried disabling the Volume Shadow Copy option on Cobian Backup. Now the differential backup on SQL Server works.

    Something will not work if one of the two processes try to access the backup files in the same time frame. I will have to find some workaround for this.

    My conclusion is:

    SQL Server 2008 R2 differential backups are incompatible with Volume Shadow Copy service on Windows Server 2008 R2.

    Somehow, somewhere Volume Shadow Copy (or Cobian Backup’s use of it) breaks the ability of SQL Server to find the latest Full backup.

    • Marked as answer by

      Friday, September 28, 2012 1:20 PM

  • Remove From My Forums
  • Question

  • Hi Everyone,

    We have a weekly maintenance plan in place that fails with the following error:

    Executing the query «ALTER INDEX [NCI_WI_BId_PId_PMId_SId_NPB] ON [Infr…» failed with the following error: «Transaction (Process ID 94) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.».
    Possible failure reasons: Problems with the query, «ResultSet» property not set correctly, parameters not set correctly, or connection not established correctly.

    This maintenance plan runs okay for one week and it fails the next and so forth and so on. I haven’t been able to find the culprit.. I have created and re-created the maintanence plan, play around with schedules becuase I thoght that other job could
    be blocking this task but nothing works. Do you guys have any advice?

    Running SQL Server 2008 R2

    Thanks in advance,

    J

Answers

  • Add the startup option -T1222 to SQL Server. (You do this from SQL Server
    Configuration Manager.) You need to restart SQL Server for the option to
    take effect.

    SQL Server will now print a trace for all deadlocks to the SQL Server
    errorlog.

    You can also enable the trace flag with the command DBCC TRACEON. But if you
    make it a startup option, you have it on for good.

    When you add the startup option, make sure that you don’t add any space
    there. Run DBCC TRACESTATUS(-1) after the restart to make sure that the flag
    is in effect.


    Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

    • Proposed as answer by

      Thursday, July 12, 2012 2:50 AM

    • Marked as answer by
      Iric Wen
      Thursday, July 19, 2012 8:33 AM
  • Remove From My Forums
  • Question

  • Hi Everyone,

    We have a weekly maintenance plan in place that fails with the following error:

    Executing the query «ALTER INDEX [NCI_WI_BId_PId_PMId_SId_NPB] ON [Infr…» failed with the following error: «Transaction (Process ID 94) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.».
    Possible failure reasons: Problems with the query, «ResultSet» property not set correctly, parameters not set correctly, or connection not established correctly.

    This maintenance plan runs okay for one week and it fails the next and so forth and so on. I haven’t been able to find the culprit.. I have created and re-created the maintanence plan, play around with schedules becuase I thoght that other job could
    be blocking this task but nothing works. Do you guys have any advice?

    Running SQL Server 2008 R2

    Thanks in advance,

    J

Answers

  • Add the startup option -T1222 to SQL Server. (You do this from SQL Server
    Configuration Manager.) You need to restart SQL Server for the option to
    take effect.

    SQL Server will now print a trace for all deadlocks to the SQL Server
    errorlog.

    You can also enable the trace flag with the command DBCC TRACEON. But if you
    make it a startup option, you have it on for good.

    When you add the startup option, make sure that you don’t add any space
    there. Run DBCC TRACESTATUS(-1) after the restart to make sure that the flag
    is in effect.


    Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

    • Proposed as answer by

      Thursday, July 12, 2012 2:50 AM

    • Marked as answer by
      Iric Wen
      Thursday, July 19, 2012 8:33 AM

I ran DBCC CheckDB in our Production SQL Server 2014. It reported back with one consistency error:

Failed:(-1073548784) Executing the query "DBCC CHECKDB(N'MYDB')  WITH NO_INF..." failed with the following error: 

"Table error: Object ID 629577392, index ID 1, partition ID 72057594387039319, alloc unit ID 72057594045596759 (type LOB data). The off-row data node at page (1:6009), slot 24, text ID 15754068079 is not referenced.

CHECKDB found 0 allocation errors and 1 consistency errors in table 'MYTABLE' (object ID 629577281).
CHECKDB found 0 allocation errors and 1 consistency errors in database 'MYDB'.

repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (MYDB).". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

Since we do not have a good backup for that DB, we have to route to the below scenario.

What I did to troubleshoot:

  1. I restored the recent backup file from Prod to UAT and ran DBCC CheckDB again to replicate the error. The same consistency error came back.
  2. Ran DBCC CHECKTABLE (MYTABLE) = same consistency error shows:
Table error: Object ID 629577392, index ID 1, partition ID 72057594387039319, alloc unit ID 72057594045596759 (type LOB data). 

The off-row data node at page (1:6009), slot 24, text ID 15754068079 is not referenced.
DBCC results for 'MYTABLE'.
There are 53635 rows in 2705 pages for object "MYTABLE".
CHECKTABLE found 0 allocation errors and 1 consistency errors in table 'MYTABLE' (object ID 629577281).
repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKTABLE
  1. Then implemented the following steps below:

— step 1
ALTER DATABASE [MYDB] SET SINGLE_USER WITH ROLLBACK IMMEDIATE;

— step 2
DBCC CHECKDB(N'[MYDB]’, REPAIR_ALLOW_DATA_LOSS);

Msg 8964, Level 16, State 1, Line 3
Table error: Object ID 629577392, index ID 1, partition ID 72057594387039319, alloc unit ID 72057594045596759 (type LOB data). The off-row data node at page (1:6009), slot 24, text ID 15754068079 is not referenced.
        The error has been repaired.
There are 53635 rows in 2705 pages for object "MYTABLE".

— step 3
DBCC CHECKDB (‘[MYDB]’) —(Re-run to check for any additional errors = no errors reported)

— step 4
ALTER DATABASE [MYDB] SET MULTI_USER; —(setting it back to multi user mode = users can access the DB)

My questions/concerns:

  1. How do I know which data has been lost? From my understanding it doesn’t seem like any data was lost because before the repair the table had 53635 rows. After the repair it still has 53635 rows.

  2. Do we need to to schedule downtime/ outage for that exact site when setting the DB to single user mode?

  3. After doing the repair in Production, what are some best practices to keep aware of?

Понравилась статья? Поделить с друзьями:

Не пропустите эти материалы по теме:

  • Яндекс еда ошибка привязки карты
  • 105202 ошибка бмв
  • 1052 ошибка mysql
  • 10515 ошибка vag
  • 10508 ошибка опель астра

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

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