Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 13th, 2005, 08:10 PM
Registered User
Join Date: Apr 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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??


Old October 17th, 2005, 09:30 PM
Friend of Wrox
Join Date: Aug 2004
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Job with VBScript in it Fails happygv SQL Server 2000 1 April 27th, 2007 02:56 AM
Job Fails - trying to insert into remote machine happygv SQL Server 2000 0 March 8th, 2007 10:03 AM
login failed for user domain\user babakwx SQL Server 2000 2 May 30th, 2006 12:28 PM
Error when code run as a job bjrichard SQL Server DTS 8 March 17th, 2005 12:20 AM
DB backup Job fails within a second or two happygv SQL Server 2000 6 October 16th, 2004 01:21 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.