473,782 Members | 2,554 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Could not execute a package by a scheduled job

I try to set a job to run a DTS package, failed.

My environment is SQL Server 2000 sp4 on windows Server 2003.

There is a local window group called Dev_accnt including member SQLTesting
who is a global account of domain Jackson. local group Dev_accnt assigned in
SQL Server with Login name: LocalMachine\De v_accnt, type: windows group.
There is no individual Login name assigned to SQLTesting in SQL server.

I used a global account Jackson\SQL_Ope r for SQL Server Agent startup
account once, then I change it to global account Jackson\SQLAgen tStart and
give SQLAgentStart account with fixed servre role sysadmin, withdraw
sysadmin from Jackson\SQL_Ope r. Here Jackson\SQL_Ope r or
Jackson\SQLAgen tStart joined in different local window group SQLOperation
with no sysadmin rol or SQLAdministrato r with sysadmin role separately and
no individual Login IDs in SQL Server, but when use Jackson\SQL_Ope r or
Jackson\SQLAgen tStart for SQL Server Agent startup account they will be
created a individual Login IDs in SQL Server but under "Server Access"
display "via group memeber". I did not remove these 2 individual IDs from
SQL Server.

Then I use account SQLTesting log in and create package copying a table from
one database to another and create a schedule job for it.

I directly run package work fine, but I run package from its schedule job,
the job failed, no matter it is run by manual or by SQL Agent. The error as
following:

"Executed as user: Jackson\SQL_Ope r. ... OnStart:
DTSStep_DTSCrea teProcessTask_1 DTSRun OnError:
DTSStep_DTSCrea teProcessTask_1 , Error = -2147024891 (80070005) Error
string: Access is denied. Error source: Microsoft Data
Transformation Services (DTS) Package Help file: sqldts80.hlp
Help context: 1100 Error Detail Records: Error: -2147024891
(80070005); Provider Error: 0 (0) Error string: Access is denied.
Error source: Microsoft Data Transformation Services (DTS) Package
Help file: sqldts80.hlp Help context: 1100
Error: -2147024891 (80070005); Provider Error: 0 (0) Error
string: Access is denied. Error source: Microsoft Data
Transformation Services (DTS) Package Help file: sqldts80.hlp
Help context: 4900 DTSRun OnFinish: DTSStep_DTSCrea teProcessTask_1
DTSRun OnStart: DTSStep_DTSActi veScriptTask_1 DTSRun OnFinish:
DTSStep_DTSActi veScriptTask_1 DTSRun: ... Process Exit Code 1. The step
failed."

Then I remove Jackson\SQL_Ope r from SQL Server and from local windows group
of window server 2003 which SQL Server installed. I run job again get error
message as following:

Executed as user: Jackson\SQL_Ope r. DTSRun: Loading...
Error: -2147217843 (80040E4D); Provider Error: 18456 (4818) Error
string: Login failed for user 'Jackson\SQL_Op er'. Error source:
Microsoft OLE DB Provider for SQL Server Help file: Help
context: 0. Process Exit Code 1. The step failed.

Some one has some idea about this problem?
Jul 8 '08 #1
0 2548

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
10404
by: ano1optimist | last post by:
I've tried several different possibilities but don't have enough basic understanding of the ownerships and permissions that are involved so I'm looking for someone to explain what is required: I created a DTS package that includes a drop table, create table, and data transformation task. Originally, my owner was local to the pc workstation with administrator priveleges. When I executed the package on demand (manually, not scheduled), it...
2
1528
by: Ciar?n | last post by:
I want to create a DTS package that will. Cleardown all rows in a table called stock Then populate stock with all data from another table called stock1. I also want to schedule it to run everymorning. Can anyone help? Regards, Ciarán
2
2926
by: Rich Tasker | last post by:
My goal is to execute a DTS package that calls multiple child DTS packages from a C# (2003) app and display the progress of the entire process to the user. I have followed the model defined in this knowledge base article. ( http://support.microsoft.com/?id=319985 ) to execute a DTS package and monitor it's events. I'm not able to capture the events from a child package that is called from an Execute Package task. I've seen a few...
3
6134
by: Grant Ord | last post by:
I've never found a simple answer to this yet it must be an issue for a lot of web applications. Basically I want to execute code in a web application at a specific time and/or intervals (like daily at 2:00 AM). I want this to happen regardles of whether a user is accessing the application. Some years ago I solved a particular instance of this issue by setting up a Scheduled Task. The task used a command line to launch IE without an
1
2201
by: Dean R. Henderson | last post by:
I have a Windows library that I bind into a Windows Form application and into an ASP.NET Web Application. I have a procedure in the library that executes a DTS Package. I have also used information from Knowledge Base article 306158, INFO: Implementing Impersonation in an ASP.NET Application to create a procedure to perform impersonation. When I try to execute the DTS Package from ASP.NET, I get the following error: Step...
1
4544
by: KR | last post by:
The DTS package runs fine through Enterprise manager successfully. However, when scheduled through a job that runs the dts through the following code: DECLARE @findfile int Exec @findfile = master.dbo.xp_cmdShell 'dir \\ServerName\folder\filename.xls', no_output IF (@findfile=0) BEGIN Exec master.dbo.xp_cmdshell 'dtsrun -E -Server\Instance
0
1487
by: grizzcol | last post by:
hi, I have a scheduled job that runs a DTS package. However the package is not referenced by name but by something like the following: DTSRun /~S 0x8BB73D744E60A78F935E38CCED793ADE /~N 0x310B44A0DC8EEA4231044DB93EDC7BFC8386939AEC477893 /E How can I find out which DTS package its running without going through every DTS and scheduling them and comparing the reference? Thanks for any help grizz
0
2326
by: rmsterling | last post by:
DSN ODBC pwd not saved when SSIS package imported SQL Server 2005 SP2 (Windows 32bit version) Implemented and FULLY tested a SSIS package with BIDs. This package uses a Data Reader object using a ODBC data source with a stored username (uid) and password (pwd). These are saved with the package locally. I then import the package directly in to SQL Server. I then create a scheduled SQL Agent job to run this package daily. When I look...
0
980
by: Anuradha Thangaraj | last post by:
Hi Friends, I am trying to execute the Scheduled Task from the Server with all the client machine thru VB.Net code. I need to know how to Access the Scheduled Task of Client machines from the server(another machine). Please Help. Thanks in Advance
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10308
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10076
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8964
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7486
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6729
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4040
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2870
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.