2013-08-14 2 views
2

При попытке выполнить пакет служб SSIS, я получаю следующее сообщение об ошибке:агент SQL Server Error о запуске пакета служб SSIS

 
Date  14/08/2013 15:02:42 Log  Job History (test) 

Step ID  1 Server  YGAL1-MOBL1 Job Name  test Step Name  ssis 
Duration  00:00:00 Sql Severity  0 Sql Message ID  0 Operator 
Emailed  Operator Net sent  Operator Paged  Retries Attempted  0 

Message Executed as user: GER\YGAL1-MOBL1$. Microsoft (R) SQL Server 
Execute Package Utility Version 10.50.1600.1 for 64-bit Copyright 
(C) Microsoft Corporation 2010. All rights reserved. Started: 
15:02:42 Error: 2013-08-14 15:02:42.84  Code: 0xC0011007  
Source: {0AF31012-7A56-4B28-92EF-BE439E68E6F0}  Description: 
Unable to load the package as XML because of package does not have a 
valid XML format. A specific XML parser error will be posted. End 
Error Error: 2013-08-14 15:02:42.84  Code: 0xC0011002  Source: 
{0AF31012-7A56-4B28-92EF-BE439E68E6F0}  Description: Failed to 
open package file "C:\Users\ygal1\Documents\Visual Studio 
2008\Projects\Integration Services Project2\Integration Services 
Project2\Package.dtsx" due to error 0x80070005 "Access is denied.". 
This happens when loading a package and the file cannot be opened or 
loaded correctly into the XML document. This can be the result of 
either providing an incorrect file name was specified when calling 
LoadPackage or the XML file was specified and has an incorrect format. 
End Error Could not load package "C:\Users\ygal1\Documents\Visual 
Studio 2008\Projects\Integration Services Project2\Integration 
Services Project2\Package.dtsx" because of error 0xC0011002. 
Description: Failed to open package file 
"C:\Users\ygal1\Documents\Visual Studio 2008\Projects\Integration 
Services Project2\Integration Services Project2\Package.dtsx" due to 
error 0x80070005 "Access is denied.". This happens when loading a 
package and the file cannot be opened or loaded correctly into the XML 
document. This can be the result of either providing an incorrect file 
name was specified when calling LoadPackage or the XML file was 
specified and has an incorrect format. Source: 
{0AF31012-7A56-4B28-92EF-BE439E68E6F0} Started: 15:02:42 Finished: 
15:02:42 Elapsed: 0.046 seconds. The package could not be found. 
The step failed. 

Любые идеи о том, как я могу решить эту проблему?

+1

Что произойдет, если вы решите нажать на пакет и выбрать для просмотра кода? Открыт ли пакет правильно? Попробуйте выполнить VS Studio с правами администратора. Если ошибка возникает от агента, кажется, что он не имеет соответствующих прав на выполнение пакета. Дайте все и удалите один за другим, чтобы узнать, в чем проблема. –

ответ

1

Мне кажется, что учетная запись службы для SQL-агента не имеет разрешений для чтения package.dtsx.

Возможно проверить, какая учетная запись запуска агента SQL & дать ему NTFS разрешения на чтение C: \ Users \ ygal1 \ Documents \ Visual Studio 2008 \ Projects \ Integration Services Проект2 \ Integration Services Project2

Или хранить DTSX файл в месте доступа к учетной записи SQL Agent?

2

У меня была аналогичная проблема, и что я сделал, чтобы получить свой пакет для запуска: a. Свойства Open Job в SQL Server b. На странице «Шаги» в поле «Пакет» я использовал имя всей папки вместо отображаемого имени, например: \ share \ allusers \ myuserid \ mypackage.dtsx вместо A: \ mypackage.dtsx

Лучшее.

Смежные вопросы