Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
ostinoh
Yak Posting Veteran
66 Posts |
Posted - 2012-02-16 : 14:26:06
|
Hello - When my SSIS package runs from a SQL Server Agent job I get the following error message. Can someone help me with this one? I see the table and the users are active.Date 2/16/2012 2:00:00 PMLog Job History (BackLogLabor Pull From Production)Step ID 1Server SXP00SQL07E\FINP02Job Name BackLogLabor Pull From ProductionStep Name Data PullDuration 00:08:00Sql Severity 0Sql Message ID 0Operator Emailed Operator Net sent Operator Paged Retries Attempted 0MessageExecuted as user: ROSETTA\finp01sql.agent. Microsoft (R) SQL Server Execute Package Utility Version 10.50.2500.0 for 64-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 2:00:00 PM Error: 2012-02-16 14:08:00.24 Code: 0xC002F210 Source: Grant Rights Back Execute SQL Task Description: Executing the query "GRANT SELECT ON BacklogLabor TO [Rosetta\Sage Mana..." failed with the following error: "Cannot find the object 'BacklogLabor', because it does not exist or you do not have permission.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 2:00:00 PM Finished: 2:08:00 PM Elapsed: 479.515 seconds. The package execution failed. The step failed. |
|
russell
Pyro-ma-ni-yak
5072 Posts |
Posted - 2012-02-17 : 07:29:44
|
If the object exists, then the account the package is executing under doesn't have permission.If the package is creating the object, make sure the create object and grant permission are in seperate batches. |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2012-02-17 : 14:19:04
|
if its account having no acces to objects, grant access using GRANT commandAlso check if connection managers are pointed to correct database.------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
|
|
|