Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SSIS job Expand / Collapse
Author
Message
Posted Wednesday, July 24, 2013 11:05 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Tuesday, April 15, 2014 9:54 AM
Points: 1,720, Visits: 3,063
I have a ssis package given by a developer that imports data from an oracle database to SQL server.
I setup a job running on this SQL server to run this package, it hangs, running forever.

But if I run this package separately on visual studio on the server, it is fine, if using the DTExec tool it runs fine too.

I use SQL server agent service account to run this package that stored in the file system.
The SQL agent account is a domain account.

I wonder why it failed, the strange thing is if I create a proxy account that uses the same domain account SQL agent service use, and run the package using the proxy account, it will work, why is that?
They are actually the same domain account.
Post #1477174
Posted Wednesday, July 24, 2013 1:05 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 4:35 AM
Points: 12,208, Visits: 9,172
If you use the service account directly (so without a proxy), there are still some very minor differences in permissions. I've read about it a long time ago and don't remember the details, but I could be related to some "sandboxing" of agent in SQL Server. I don't know

Anyway, the moral of the story is: don't use the service account directly




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1477227
Posted Wednesday, July 24, 2013 1:19 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Tuesday, April 15, 2014 9:54 AM
Points: 1,720, Visits: 3,063
update:

Here is what I found out, after I need to restart SQl agent serivce, for I just installed oracle client on the server, and the SQl agent account does not pick up the oracle path, I did a restart, then run by sql agent service , then it works!

But now sure why proxy account that uses the same domain account works before I restart.

Thanks,
Post #1477234
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse