Solved

Integrity Check Job Fails

Posted on 2009-06-29
3
1,333 Views
Last Modified: 2012-05-07
Windows Server 2003 R2 SP2 64-bit
SQL Server 2005 64-bit 9.0.4035

- I've created a maintenance plan to do an Integrity Check. It creates successfully.

- If I attempt to execute it the plan by right clicking it I get the following error:
      Execution failed. See the maintenance plan and SQL Server Agent Job history logs for details.
      
      Additional information:
            Job 'Check the <db_name> databases's integrity.Subplan_1' failed. (SqlManagerUI)

- Checking the job history shows a fail for the last run attempt and the following:
      - Entry 1:
      06/29/2009 09:54:42,Check the <db_name> database's integrity.Subplan_1,Error,0,SERVER_NAME,Check the <db_name> database's
      integrity.Subplan_1,(Job outcome),,The job failed.  The Job was invoked by User SERVER_NAME\Administrator.
      The last step to run was step 1 (Subplan_1).,00:00:02,0,0,,,,0
      
      - Entry 1.1:
      06/29/2009 09:54:42,Check the <db_name> database's integrity.Subplan_1,Error,1,SERVER_NAME,Check the <db_name> database's
      integrity.Subplan_1,Subplan_1,,Executed as user: NT AUTHORITY\NETWORK SERVICE. Microsoft (R) SQL Server Execute Package
      Utility  Version 9.00.4035.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started:  09:54:42  
      Progress: 2009-06-29 09:54:43.94     Source: {ACE76A16-1FD1-4452-B5BC-8F6DF133F2B5}      
      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp".: 100% complete  
      End Progress  DTExec: The package execution returned DTSER_FAILURE (1).  
      Started:  09:54:42  Finished: 09:54:44  Elapsed:  2.047 seconds.  
      The package execution failed.  The step failed.,00:00:02,0,0,,,,0

- But, manually executing the plan's T-SQL as a query completes successfully:
      USE [<db_name>]
      GO
      DBCC CHECKDB WITH NO_INFOMSGS
      
- The other plans/jobs run with no issues.
0
Comment
Question by:ApexCo
3 Comments
 
LVL 15

Expert Comment

by:mohan_sekar
ID: 24740003
0
 
LVL 23

Expert Comment

by:Racim BOUDJAKDJI
ID: 24740507
Looking at the error message:

D1-4452-B5BC-8F6DF133F2B5}      
      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp".: 100% complete  
      End Progress  DTExec: The package execution returned DTSER_FAILURE (1).  

It seems the problem comes from a faulty DTS package not anything else.  IMHO.

0
 
LVL 42

Accepted Solution

by:
EugeneZ earned 500 total points
ID: 24741913
try to change the job owner to "sa"
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question