Измените свойство maximumerrorcount или устраните ошибки

SQL Server 2012 Business Intelligence SQL Server 2014 Business Intelligence — duplicate (do not use) Еще…Меньше

Проблемы

Предположим, что вы используете службы интеграции Microsoft SQL Server 2012 (SSIS 2012) или SSIS 2014. При выполнении задачи потока проверки XML для больших входных файлов после определенного периода обработки службы SSIS могут создать исключение недостаточно памяти, как описано ниже.

Пакет служб SSIS «XXX» запускается. Ошибка: 0xC002F304 на XML-задаче, задача XML: произошла ошибка со следующим сообщением об ошибке: «недостаточно памяти для продолжения выполнения программы». Ошибка: 0xC002928F на XML-задаче; XML-задача: свойство «New Source» не имеет исходного текста XML; Текст XML является либо недопустимым, либо null или пустой строкой. Сбой задачи: XML TaskWarning: 0x80019002 в пакете: DTS_W_MAXIMUMERRORCOUNTREACHED кода предупреждения служб SSIS. Метод выполнения выполнен успешно, но количество возникших ошибок (2) достигло максимально допустимого (1). Это приводит к сбою. Это связано с тем, что количество ошибок достигает числа, указанного в MaximumErrorCount. Измените MaximumErrorCount или исправьте ошибки. Пакет служб SSIS «XXX» завершен: сбой

Примечание. Эта проблема возникает независимо от того, имеет ли свойство сведения о проверке значение true или false.

Решение

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

Накопительное обновление 1 для SQL Server 2014 с пакетом обновления 1 (SP1) /en-us/help/3067839

Накопительное обновление 4 для SQL Server 2012 с пакетом обновления 2 (SP2) /en-us/help/3007556

Накопительное обновление 6 для SQL Server 2014 /en-us/help/3031047

Статус

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

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

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

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

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

У меня есть несколько заданий и несколько пакетов. В SQL Server 2005 мы использовали пакеты DTS, но теперь они не работают (я знаю, что могу снова включить их, но это не то, что мне нужно). Я получаю следующую ошибку, запустив один из моих пакетов:

сообщение: код предупреждения служб SSIS
DTS_W_MAXIMUMERRORCOUNTREACHED. Этот
Метод выполнения выполнен успешно, но
количество привлеченных ошибки (1) достиг
максимально допустимое значение (1);
неудача. Это происходит, когда число
ошибок достигает указанного числа
в MaximumErrorCount. Изменить
MaximumErrorCount или исправить ошибки.

очевидно, что это результат более ранней ошибки. Я не могу исправить эту ошибку, поэтому я хочу увеличить MaximumErrorCount. Но даже несмотря на то, что в интернете есть множество сообщений, объясняющих, что вы должны выбрать Свойства пакета (или задания?), пакет не имеет свойства больше (я нашел их под интеграция Услуги, где они перечислены в разделе пакеты DTS что странно, учитывая, что мастер создал пакет, а DTS не поддерживается 2008?), Я понятия не имею, как смотреть в пакет, на самом деле. И работа есть свойства, но нигде нет настройки максимальное количество ошибок.

может ли кто-то быть глазами для меня и видеть то, что я не вижу? Где я могу увеличить MaximumErrorCount в соответствии с запросом сообщения об ошибке?

2 ответов


Если я открыл пакет в BIDS («Business Intelligence Development Studio», инструмент, который вы используете для разработки пакетов), и не выбираю в нем какой — либо элемент, у меня есть панель» свойства » в правом нижнем углу, содержащая-среди прочего,MaximumErrorCount собственность. Если вы его не видите, возможно, он свернут, и вам нужно его открыть (посмотрите на вкладки справа).

Если вы не можете найти его таким образом, попробуйте меню: Вид/свойства окна.

или попробуйте клавишу F4.


важно подчеркнуть, что свойство (MaximumErrorCount), которое необходимо изменить, должно быть установлено как более 0 (что является значением по умолчанию) на уровне пакета, а не в конкретном элементе управления, который показывает ошибку (я пробовал это, и это не работает!)

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


У меня несколько работ и несколько пакетов. В SQL Server 2005 мы использовали пакеты DTS, но теперь они не функционируют (я знаю, что могу снова включить их, но мне это не нужно). Я получаю следующую ошибку при запуске одного из моих пакетов:

Сообщение: код предупреждения SSIS DTS_W_MAXIMUMERRORCOUNTREACHED. Метод Execution завершился успешно, но количество возникших ошибок (1) достигло максимально допустимого (1); приводящий к отказу. Это происходит, когда количество ошибок достигает числа, указанного в MaximumErrorCount. Измените MaximumErrorCount или исправьте ошибки.

Очевидно, это результат более ранней ошибки. Я не могу исправить эту ошибку, поэтому хочу увеличить MaximumErrorCount. Но даже несмотря на то, что в Интернете есть множество сообщений, в которых объясняется, что вы должны выбрать Свойства в пакете (или в работе?), В пакете нет Свойства больше (я нашел их под Интеграционные Услуги где они перечислены под Пакеты DTS что странно, учитывая, что мастер создал пакет, а DTS не поддерживается в 2008?), я понятия не имею, как заглянуть в пакет, на самом деле. И у работы есть Свойства, но нигде нет настройки Максимальное количество ошибок.

Может ли кто-нибудь быть для меня глазами и увидеть то, чего я не вижу? Где мне увеличить MaximumErrorCount в соответствии с сообщением об ошибке?

If MaximumErrorCount is reached, that does not mean the container is done and can no longer generate errors.  A container is a package, or a loop, or sequence, or a task host, or an event handler.

Container completion and Container failure are two different (but interrelated) concepts. One is an event, the other is is a state. Even if an container is in failed state (ExecutionResult), it may have work yet to do, and though its ExectutionResult is set to Failure, it is not necessarily finished.

Even with MaximumErrorCount set to one, a container may receive a large number of errors, Now, to observe this concept, do the following.

1. Save a file with the following xml (sample.xml)

<bib>

<book year=«1994«>

<title>TCP/IP Illustrated</title>

<author>

<last>Stevens</last>

<first>W.</first>

</author>

<publisher>Addison-Wesley</publisher>

<price>65.95</price>

</book>

</bib>

2. Save the following xml schema (xsd) into a file as well (sample.xsd).  Prepare for xsd to smiley conversion.

<?xml version=«1.0« encoding=«utf-8«?>

<xsTongue Tiedchema attributeFormDefault=«unqualified« elementFormDefault=«qualified« xmlns:xs=«http://www.w3.org/2001/XMLSchema«>

<xs:element name=«bib«>

<xs:complexType>

<xsTongue Tiedequence>

<xs:element name=«book«>

<xs:complexType>

<xsTongue Tiedequence>

<xs:element name=«title« type=«xsTongue Tiedtring« />

<xs:element name=«author«>

<xs:complexType>

<xsTongue Tiedequence>

<xs:element name=«last« type=«xsTongue Tiedtring« />

<xs:element name=«first« type=«xsTongue Tiedtring« />

</xsTongue Tiedequence>

</xs:complexType>

</xs:element>

<xs:element name=«publisher« type=«xsTongue Tiedtring« />

<xs:element name=«price« type=«xsBig Smileecimal« />

</xsTongue Tiedequence>

<xs:attribute name=«year« type=«xs:unsignedShort« use=«required« />

</xs:complexType>

</xs:element>

</xsTongue Tiedequence>

</xs:complexType>

</xs:element>

</xsTongue Tiedchema>

3. Create a a package with a single data flow.
4. In the data flow, add an xml data source; Data Access Mode: Xml file location. Point the respective xml and xsd to the files created above.
5. Connect the «author» output of xml source to a Union all (or row count ) transform.
6 .Enable logging at the package level, log the error events specifically at the data flow level, and warnings at the package level.
7. Run the package, it should succeed.

Now edit the sample.xml file to contain the following (there are two deliberate errors)

<bib>

<book year=«1994«>

<title>TCP/IP Illustrated</title>

<author>

<last>Stevens</last>

<first>W.</first>

</author>

<publisher>Addison-Wesley</publisher>

<price>Sixty Five Ninety Five</price>

</book>

<bib>

Re-run the package.
How many errors are observed in the execution results windows or the Log Events window from the data flow alone. On Vista x86, eight are observed.
Did the dataflow and package fail? Yes and yes.

Here’s the Warning message received on the package itself. Note the number of errors raised, with no parallel containers.

SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (8) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.

Now, the message tells the author to «Change the MaxErrorCount» or fix the errors, but there another option (its called handling the error).

In the same package, create an OnError Event Handler on the data flow itself. In the handler, open the Variables window, select show system variables from the variables window toolstrip, and set the Propagate boolean System variable to false. Run the package again. How many errors were observed on the data flow task? On Vista eight are still observed. What containers failed? The data flow task failed, but the package succeeded.

The running total of errors which bubble or are directly directly fired by a given container are compared against that container’s MaximumErrorCount. If the number of errors is >= to the MaximumErrorCount, the execution result of the container is set to Failure, unless overridden by the ForceExecutionResult property.

Furthermore, if MaximumErrorCount is set to one on all containers, that does not means one error must of necessity stop the package either. When System:Stick out tongueropagate is set to false in an error event handler scoped below the package level, it may (at the designers discretion) halt error propagation up the container hierarchy, thus preventing the ExecutionResult on the package being set to Failure as well (at least on its account).

If MaximumErrorCount is reached, that does not mean the container is done and can no longer generate errors.  A container is a package, or a loop, or sequence, or a task host, or an event handler.

Container completion and Container failure are two different (but interrelated) concepts. One is an event, the other is is a state. Even if an container is in failed state (ExecutionResult), it may have work yet to do, and though its ExectutionResult is set to Failure, it is not necessarily finished.

Even with MaximumErrorCount set to one, a container may receive a large number of errors, Now, to observe this concept, do the following.

1. Save a file with the following xml (sample.xml)

<bib>

<book year=«1994«>

<title>TCP/IP Illustrated</title>

<author>

<last>Stevens</last>

<first>W.</first>

</author>

<publisher>Addison-Wesley</publisher>

<price>65.95</price>

</book>

</bib>

2. Save the following xml schema (xsd) into a file as well (sample.xsd).  Prepare for xsd to smiley conversion.

<?xml version=«1.0« encoding=«utf-8«?>

<xsTongue Tiedchema attributeFormDefault=«unqualified« elementFormDefault=«qualified« xmlns:xs=«http://www.w3.org/2001/XMLSchema«>

<xs:element name=«bib«>

<xs:complexType>

<xsTongue Tiedequence>

<xs:element name=«book«>

<xs:complexType>

<xsTongue Tiedequence>

<xs:element name=«title« type=«xsTongue Tiedtring« />

<xs:element name=«author«>

<xs:complexType>

<xsTongue Tiedequence>

<xs:element name=«last« type=«xsTongue Tiedtring« />

<xs:element name=«first« type=«xsTongue Tiedtring« />

</xsTongue Tiedequence>

</xs:complexType>

</xs:element>

<xs:element name=«publisher« type=«xsTongue Tiedtring« />

<xs:element name=«price« type=«xsBig Smileecimal« />

</xsTongue Tiedequence>

<xs:attribute name=«year« type=«xs:unsignedShort« use=«required« />

</xs:complexType>

</xs:element>

</xsTongue Tiedequence>

</xs:complexType>

</xs:element>

</xsTongue Tiedchema>

3. Create a a package with a single data flow.
4. In the data flow, add an xml data source; Data Access Mode: Xml file location. Point the respective xml and xsd to the files created above.
5. Connect the «author» output of xml source to a Union all (or row count ) transform.
6 .Enable logging at the package level, log the error events specifically at the data flow level, and warnings at the package level.
7. Run the package, it should succeed.

Now edit the sample.xml file to contain the following (there are two deliberate errors)

<bib>

<book year=«1994«>

<title>TCP/IP Illustrated</title>

<author>

<last>Stevens</last>

<first>W.</first>

</author>

<publisher>Addison-Wesley</publisher>

<price>Sixty Five Ninety Five</price>

</book>

<bib>

Re-run the package.
How many errors are observed in the execution results windows or the Log Events window from the data flow alone. On Vista x86, eight are observed.
Did the dataflow and package fail? Yes and yes.

Here’s the Warning message received on the package itself. Note the number of errors raised, with no parallel containers.

SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (8) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.

Now, the message tells the author to «Change the MaxErrorCount» or fix the errors, but there another option (its called handling the error).

In the same package, create an OnError Event Handler on the data flow itself. In the handler, open the Variables window, select show system variables from the variables window toolstrip, and set the Propagate boolean System variable to false. Run the package again. How many errors were observed on the data flow task? On Vista eight are still observed. What containers failed? The data flow task failed, but the package succeeded.

The running total of errors which bubble or are directly directly fired by a given container are compared against that container’s MaximumErrorCount. If the number of errors is >= to the MaximumErrorCount, the execution result of the container is set to Failure, unless overridden by the ForceExecutionResult property.

Furthermore, if MaximumErrorCount is set to one on all containers, that does not means one error must of necessity stop the package either. When System:Stick out tongueropagate is set to false in an error event handler scoped below the package level, it may (at the designers discretion) halt error propagation up the container hierarchy, thus preventing the ExecutionResult on the package being set to Failure as well (at least on its account).

I have several jobs and several packages. In SQL Server 2005 we used to use DTS Packages, but they are now defunct (I know that I can re-enable them, but that’s not what I’m after). I receive the following error by running one of my packages:

Message: SSIS Warning Code
DTS_W_MAXIMUMERRORCOUNTREACHED. The
Execution method succeeded, but the
number of errors raised (1) reached
the maximum allowed (1); resulting in
failure. This occurs when the number
of errors reaches the number specified
in MaximumErrorCount. Change the
MaximumErrorCount or fix the errors.

Obviously, this is a result of an earlier error. I cannot fix that error, so I want to increase the MaximumErrorCount. But even though there are numerous posts on the internet explaining that you should select Properties on the package (or the job?), the package doesn’t have Properties anymore (I found them under Integration Services where they’re listed under DTS Packages which is odd, considering a wizard created the package and DTS is not supported by 2008?), I’ve no clue how to look into the package, really. And the job does have Properties, but nowhere is there a setting Maximum error count.

Can someone be the eyes for me and see what I cannot see? Where do I increase the MaximumErrorCount as requested by the error message?

I have several jobs and several packages. In SQL Server 2005 we used to use DTS Packages, but they are now defunct (I know that I can re-enable them, but that’s not what I’m after). I receive the following error by running one of my packages:

Message: SSIS Warning Code
DTS_W_MAXIMUMERRORCOUNTREACHED. The
Execution method succeeded, but the
number of errors raised (1) reached
the maximum allowed (1); resulting in
failure. This occurs when the number
of errors reaches the number specified
in MaximumErrorCount. Change the
MaximumErrorCount or fix the errors.

Obviously, this is a result of an earlier error. I cannot fix that error, so I want to increase the MaximumErrorCount. But even though there are numerous posts on the internet explaining that you should select Properties on the package (or the job?), the package doesn’t have Properties anymore (I found them under Integration Services where they’re listed under DTS Packages which is odd, considering a wizard created the package and DTS is not supported by 2008?), I’ve no clue how to look into the package, really. And the job does have Properties, but nowhere is there a setting Maximum error count.

Can someone be the eyes for me and see what I cannot see? Where do I increase the MaximumErrorCount as requested by the error message?

У меня несколько работ и несколько пакетов. В SQL Server 2005 мы использовали пакеты DTS, но теперь они не функционируют (я знаю, что могу снова включить их, но это не то, что мне нужно). Я получаю следующую ошибку при запуске одного из моих пакетов:

Сообщение: код предупреждения SSIS DTS_W_MAXIMUMERRORCOUNTREACHED. Метод Execution завершился успешно, но количество возникших ошибок (1) достигло максимально допустимого (1); приводящий к отказу. Это происходит, когда количество ошибок достигает числа, указанного в MaximumErrorCount. Измените MaximumErrorCount или исправьте ошибки.

Очевидно, это результат более ранней ошибки. Я не могу исправить эту ошибку, поэтому хочу увеличить MaximumErrorCount. Но даже несмотря на то, что в Интернете есть множество сообщений, в которых объясняется, что вы должны выбрать «Свойства» в пакете (или в задании?), Пакет больше не имеет Свойства (я нашел их в разделе Интеграция Службы , где они перечислены в разделе Пакеты DTS , что странно, учитывая, что мастер создал пакет, а DTS не поддерживается в 2008 году?), Я не знаю, как посмотреть в пакет, правда. И у задания есть Свойства , но нигде нет настройки Максимальное количество ошибок .

Может ли кто-нибудь быть глазами для меня и увидеть то, чего я не вижу? Где мне увеличить MaximumErrorCount в соответствии с сообщением об ошибке?

3 ответа

Лучший ответ

Если я открываю пакет в BIDS («Business Intelligence Development Studio», инструмент, который вы используете для разработки пакетов) и не выбираю в нем какой-либо элемент, у меня есть панель «Свойства» в правом нижнем углу, содержащая — среди прочего , свойство MaximumErrorCount. Если вы его не видите, возможно, он свернут, и вам нужно его открыть (посмотрите вкладки справа).

Если вы не можете найти его таким образом, попробуйте меню: Вид / Окно свойств.

Или попробуйте клавишу F4.


22

Abel
16 Ноя 2011 в 18:35

Важно подчеркнуть, что свойство (MaximumErrorCount), которое необходимо изменить, должно быть установлено как больше 0 (что по умолчанию) на уровне пакета, а не в конкретном элементе управления, который показывает ошибку (я пробовал это, и он не работает!)

Убедитесь, что в окне «Свойства» для раскрывающегося меню установлено значение «Пакет», затем найдите свойство MaximumErrorCount, чтобы изменить его.


4

Efrain Plaza
10 Янв 2015 в 01:21

Просто чтобы показать изображение: я изменил максимальное количество ошибок на 5

enter image description here


0

Jin Lee
17 Мар 2021 в 00:44

I have defined a Maintenance Plan in Microsoft SQL Server 2012. It doesn’t execute and it says

   DTS_W_MAXIMUMERRORCOUNTREACHED.
 The Execution method succeeded, but the number of errors raised (2) reached the maximum allowed (1); resulting in failure.
 This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors////

Where should change it?

Hannah Vernon's user avatar

Hannah Vernon

68.3k22 gold badges164 silver badges303 bronze badges

asked Feb 11, 2016 at 11:21

nnmmss's user avatar

1

Each task in a Maintenance Plan has a variety of options that can be changed by right-clicking the desired task, then selecting the «Properties» option from the context-menu. As in:

enter image description here

To allow a task to have multiple errors prior to failing, simply modify the MaximumErrorCount property I’ve highlighted above to some number greater than 1.

Having said that, Maintenance Plans are difficult to manage.

Options I recommend using instead:

  • Ola Hallengren has a great replacement solution that is extensible and makes management a breeze.

  • MinionWare Backup — built by DBAs for DBAs.

answered Apr 12, 2018 at 14:53

Hannah Vernon's user avatar

Hannah VernonHannah Vernon

68.3k22 gold badges164 silver badges303 bronze badges

If MaximumErrorCount is reached, that does not mean the container is done and can no longer generate errors.  A container is a package, or a loop, or sequence, or a task host, or an event handler.

Container completion and Container failure are two different (but interrelated) concepts. One is an event, the other is is a state. Even if an container is in failed state (ExecutionResult), it may have work yet to do, and though its ExectutionResult is set to Failure, it is not necessarily finished.

Even with MaximumErrorCount set to one, a container may receive a large number of errors, Now, to observe this concept, do the following.

1. Save a file with the following xml (sample.xml)

<bib>

<book year=«1994«>

<title>TCP/IP Illustrated</title>

<author>

<last>Stevens</last>

<first>W.</first>

</author>

<publisher>Addison-Wesley</publisher>

<price>65.95</price>

</book>

</bib>

2. Save the following xml schema (xsd) into a file as well (sample.xsd).  Prepare for xsd to smiley conversion.

<?xml version=«1.0« encoding=«utf-8«?>

<xsTongue Tiedchema attributeFormDefault=«unqualified« elementFormDefault=«qualified« xmlns:xs=«http://www.w3.org/2001/XMLSchema«>

<xs:element name=«bib«>

<xs:complexType>

<xsTongue Tiedequence>

<xs:element name=«book«>

<xs:complexType>

<xsTongue Tiedequence>

<xs:element name=«title« type=«xsTongue Tiedtring« />

<xs:element name=«author«>

<xs:complexType>

<xsTongue Tiedequence>

<xs:element name=«last« type=«xsTongue Tiedtring« />

<xs:element name=«first« type=«xsTongue Tiedtring« />

</xsTongue Tiedequence>

</xs:complexType>

</xs:element>

<xs:element name=«publisher« type=«xsTongue Tiedtring« />

<xs:element name=«price« type=«xsBig Smileecimal« />

</xsTongue Tiedequence>

<xs:attribute name=«year« type=«xs:unsignedShort« use=«required« />

</xs:complexType>

</xs:element>

</xsTongue Tiedequence>

</xs:complexType>

</xs:element>

</xsTongue Tiedchema>

3. Create a a package with a single data flow.
4. In the data flow, add an xml data source; Data Access Mode: Xml file location. Point the respective xml and xsd to the files created above.
5. Connect the «author» output of xml source to a Union all (or row count ) transform.
6 .Enable logging at the package level, log the error events specifically at the data flow level, and warnings at the package level.
7. Run the package, it should succeed.

Now edit the sample.xml file to contain the following (there are two deliberate errors)

<bib>

<book year=«1994«>

<title>TCP/IP Illustrated</title>

<author>

<last>Stevens</last>

<first>W.</first>

</author>

<publisher>Addison-Wesley</publisher>

<price>Sixty Five Ninety Five</price>

</book>

<bib>

Re-run the package.
How many errors are observed in the execution results windows or the Log Events window from the data flow alone. On Vista x86, eight are observed.
Did the dataflow and package fail? Yes and yes.

Here’s the Warning message received on the package itself. Note the number of errors raised, with no parallel containers.

SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (8) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.

Now, the message tells the author to «Change the MaxErrorCount» or fix the errors, but there another option (its called handling the error).

In the same package, create an OnError Event Handler on the data flow itself. In the handler, open the Variables window, select show system variables from the variables window toolstrip, and set the Propagate boolean System variable to false. Run the package again. How many errors were observed on the data flow task? On Vista eight are still observed. What containers failed? The data flow task failed, but the package succeeded.

The running total of errors which bubble or are directly directly fired by a given container are compared against that container’s MaximumErrorCount. If the number of errors is >= to the MaximumErrorCount, the execution result of the container is set to Failure, unless overridden by the ForceExecutionResult property.

Furthermore, if MaximumErrorCount is set to one on all containers, that does not means one error must of necessity stop the package either. When System:Stick out tongueropagate is set to false in an error event handler scoped below the package level, it may (at the designers discretion) halt error propagation up the container hierarchy, thus preventing the ExecutionResult on the package being set to Failure as well (at least on its account).

I have defined a Maintenance Plan in Microsoft SQL Server 2012. It doesn’t execute and it says

   DTS_W_MAXIMUMERRORCOUNTREACHED.
 The Execution method succeeded, but the number of errors raised (2) reached the maximum allowed (1); resulting in failure.
 This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors////

Where should change it?

Hannah Vernon - On Strike's user avatar

asked Feb 11, 2016 at 11:21

nnmmss's user avatar

1

Each task in a Maintenance Plan has a variety of options that can be changed by right-clicking the desired task, then selecting the «Properties» option from the context-menu. As in:

enter image description here

To allow a task to have multiple errors prior to failing, simply modify the MaximumErrorCount property I’ve highlighted above to some number greater than 1.

Having said that, Maintenance Plans are difficult to manage.

Options I recommend using instead:

  • Ola Hallengren has a great replacement solution that is extensible and makes management a breeze.

  • MinionWare Backup — built by DBAs for DBAs.

answered Apr 12, 2018 at 14:53

Hannah Vernon - On Strike's user avatar

У меня есть несколько заданий и несколько пакетов. В SQL Server 2005 мы использовали пакеты DTS, но теперь они не работают (я знаю, что могу снова включить их, но это не то, что мне нужно). Я получаю следующую ошибку, запустив один из моих пакетов:

сообщение: код предупреждения служб SSIS
DTS_W_MAXIMUMERRORCOUNTREACHED. Этот
Метод выполнения выполнен успешно, но
количество привлеченных ошибки (1) достиг
максимально допустимое значение (1);
неудача. Это происходит, когда число
ошибок достигает указанного числа
в MaximumErrorCount. Изменить
MaximumErrorCount или исправить ошибки.

очевидно, что это результат более ранней ошибки. Я не могу исправить эту ошибку, поэтому я хочу увеличить MaximumErrorCount. Но даже несмотря на то, что в интернете есть множество сообщений, объясняющих, что вы должны выбрать Свойства пакета (или задания?), пакет не имеет свойства больше (я нашел их под интеграция Услуги, где они перечислены в разделе пакеты DTS что странно, учитывая, что мастер создал пакет, а DTS не поддерживается 2008?), Я понятия не имею, как смотреть в пакет, на самом деле. И работа есть свойства, но нигде нет настройки максимальное количество ошибок.

может ли кто-то быть глазами для меня и видеть то, что я не вижу? Где я могу увеличить MaximumErrorCount в соответствии с запросом сообщения об ошибке?

2 ответов


Если я открыл пакет в BIDS («Business Intelligence Development Studio», инструмент, который вы используете для разработки пакетов), и не выбираю в нем какой — либо элемент, у меня есть панель» свойства » в правом нижнем углу, содержащая-среди прочего,MaximumErrorCount собственность. Если вы его не видите, возможно, он свернут, и вам нужно его открыть (посмотрите на вкладки справа).

Если вы не можете найти его таким образом, попробуйте меню: Вид/свойства окна.

или попробуйте клавишу F4.


важно подчеркнуть, что свойство (MaximumErrorCount), которое необходимо изменить, должно быть установлено как более 0 (что является значением по умолчанию) на уровне пакета, а не в конкретном элементе управления, который показывает ошибку (я пробовал это, и это не работает!)

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


  • Извлекать ошибки что значит
  • Измените загрузку сушильная машина miele ошибка
  • Изменение состояния профиля дбд ошибка
  • Изменение содержания текста исправление ошибок это
  • Изменение площади земельного участка при исправлении реестровой ошибки