Solved

SSIS problem:  File System task (delete file) does not run on remote machine

Posted on 2008-10-04
8
981 Views
Last Modified: 2013-11-30
Greetings,

I created an SSIS package that does a number of things, the last task is to delete a file.  When I run the SSIS package from within MS SQL BI is runs fine and deletes the file off the server.   However, when I run the package using DTexecUI, on the same machine, the delete task does not execute.  The file never gets deleted on the remote server.  Just so you know, I do not have SQl database or integration services installed on this machine, I just have the Business Intelligence Studio installed.  Any ideas?
0
Comment
Question by:Pharmica
  • 4
  • 2
  • 2
8 Comments
 
LVL 51

Expert Comment

by:Mark Wills
ID: 22641825
They will be running under different accounts for a start, so probably has something to do with how the different accounts have been set up.

Also if you are running 64 bit, then there are a couple of other issues... dtexec comes in 32 bit and 64 bit editions, dtexecui does not - in fact VS is not. So, might be having problems at that level as well. Are you running 64-bit ?
0
 

Author Comment

by:Pharmica
ID: 22641841
Actually, I am running it from a laptop, not 64-bit.  I am running both from the same laptop.  Once this goes into production, a server will run it nightly, but I need to see it work on my laptop first.  Should i try using dtexec instead of dtexecui on my laptop?

0
 
LVL 51

Accepted Solution

by:
Mark Wills earned 300 total points
ID: 22641884
Yes, would be best... But you still have different user profiles - SQL Server Agent is a service with own profile, SQL Server - again how / who you login as, VS - your user - so unless you have them all starting / setup to be "you" and you have admin / sysadmin with Windows authentication, then you could have a few different profiles running those jobs. Gets tricky like that...
0
 
LVL 30

Expert Comment

by:nmcdermaid
ID: 22828832
Pharmica can you verify whether you are using SQL Agent or not?
I don't know that using DTExecUI necessarily means that SQL Agent is involved.
 
0
[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

 
LVL 51

Expert Comment

by:Mark Wills
ID: 22830709
DTexecUI is the one you can use interatively... then there is DTEXEC (interestingly comes in both 32 and 64 bit flavours where as DTEXECUI is only 32 bit - I think)...
0
 
LVL 30

Expert Comment

by:nmcdermaid
ID: 22837435
In the old world (DTS), you generally used the UI version to assist in building the command line. I assume SSIS is the same.
0
 
LVL 51

Expert Comment

by:Mark Wills
ID: 22839640
@pharmica: you still out there ?
0
 

Author Closing Comment

by:Pharmica
ID: 31503075
Sorry, I forgot to close this question.  You were right about the profiles.  After reviewing the account information, the services were running with an account that did not have rights.  Thanks for your help.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now