Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
|
SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server DTS 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 July 28th, 2006, 10:41 AM
Authorized User
 
Join Date: Jun 2004
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Package runs, Job doesn't run

Hi There,

I have a little problem here. I created an ActiveX package that uses a filescriptingobject to copy some files from one server to another. I can execute the package without errors, but when I try to schedule the package it fails to run.

The owner of the package has rights on the destination server.
The username displayed in the error message is the logon name for SQL Server Agent and is different from the package owner, but that user also has rights to the destination server.

We've tried various owner names, but get the same error each time. We're a bit worried about changing the logon to SQL Server Agent because of how it might affect other packages. Would that fix our problem?

Below is the error message.

Thanks for your help.

Paul O

Executed as user: server\username.
DTSRun: Loading...
DTSRun: Executing...
DTSRun OnStart: DTSStep_DTSActiveScriptTask_1
DTSRun OnError: DTSStep_DTSActiveScriptTask_1, Error = -2147220482 (800403FE)
Error string:
Error Code: 0
Error Source= Microsoft VBScript runtime error
Error Description: Permission denied
Error on Line 29
Error source: Microsoft Data Transformation Services (DTS) Package
Help file: sqldts80.hlp
Help context: 4500
Error Detail Records:
Error: -2147220482 (800403FE);
Provider Error: 0 (0)
Error string:
Error Code: 0
Error Source= Microsoft VBScript runtime error
Error Description: Permission denied
Error on Line 29
Error source: Microsoft Data Transformation Services (DTS) Package
Help file: sqldts80.hlp
Help context: 4500
DTSRun OnFinish: DTSStep_DTSActiveScriptTask_1
DTSRun: Package execution complete.
Process Exit Code 1. The step failed.






Similar Threads
Thread Thread Starter Forum Replies Last Post
job executes, package step doesn't cronid SQL Server DTS 1 October 23rd, 2006 08:04 AM
Problem with the views execution when run as a job sreepada SQL Server 2000 0 March 18th, 2006 08:39 AM
don't run my package when i schedule package Isra2005 SQL Server DTS 1 May 17th, 2005 01:34 AM
Error when code run as a job bjrichard SQL Server DTS 8 March 17th, 2005 12:20 AM
Problem Scheduling a job on DTS package. pooh2323 SQL Server DTS 2 February 12th, 2004 02:12 PM





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