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 February 19th, 2004, 01:21 PM
Authorized User
 
Join Date: Dec 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to AyatKh
Default Permission Denied.Pls HELP

I have a problem in running a DTS. My DTS package has 5 different Steps which is at first step I have a ActiveXScript ruuning. What it does is it takes an excel file (testfile.xls) in the server, copies that file to another folder with Today's Date. Then Renames it to "test.xls" . Then in Step2 I have a connection that take that excel file "test.xls" and Imports it to database.
at the step 5 I have another ActiveXScript which I need to delete that file "test.xls" . When it gets to the step5: I get the permission Denied. I think the file is still open! (not sure)
But when I run it seperatly it runs successfully.
Could you give me solution for that.
Thanks


 
Old February 19th, 2004, 09:12 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

For me, I've always had problem with delete file privileges using Scripting.FileSystemObject (I imagine this is what you are using?). How I always got around this was I put the file in a new folder and deleted the whole folder. I'm not sure myself what this may be; it may be file or folder permissions.

Hope this helps,

Brian





Similar Threads
Thread Thread Starter Forum Replies Last Post
(0x800A0046) Permission denied,not IIS permission! David Hay Classic ASP Basics 3 April 30th, 2006 10:47 PM
Permission denied zah_amir Classic ASP Databases 1 January 24th, 2006 11:45 PM
Permission denied tksarun Classic ASP Components 0 March 11th, 2005 03:01 AM
Permission Denied hamidmq Javascript How-To 2 March 10th, 2005 09:41 AM
Permission Denied einstein Linux 1 December 10th, 2003 09:49 AM





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