p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   SQL Server 2000 (http://p2p.wrox.com/forumdisplay.php?f=20)
-   -   Job fails & need to use domain\user acct to run (http://p2p.wrox.com/showthread.php?t=34261)

kiwikencox October 13th, 2005 08:10 PM

Job fails & need to use domain\user acct to run
 
Hi all,

I have a situation where i need to run a job using a DOMAIN\USERNAME owner but when i do this it fails with...
"The job failed. Unable to determine if the owner...etc etc [SQLSTATE 42000] (Error 8198))"

The job runs fine when the owner is set to 'sa' or the 'sql service account', but alas this is no good to me as the DTS package it runs call a batch file to copy a file from another machine, and sa & sql service accounts don't have access to this file. So DTS fails.

Q: How can i get the job to work with DOMAIN\USERNAME owner??

Q: Any suggestions on any workarounds??

Cheers,
Ken






robprell October 17th, 2005 09:30 PM

I am not sure I follow the issue. Create a user account that has the rights to run the batch file. Have the job run as that user and make sure that user has the needed rights in SQL. But this is a rather unsecure method, but most are in MS development using DTS and/or Batch files.

Hope this helps



All times are GMT -4. The time now is 02:22 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.