dbTalk Databases Forums  

SSIS Problem

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss SSIS Problem in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
j0hnj0hn
 
Posts: n/a

Default SSIS Problem - 02-11-2009 , 01:29 PM






I think this is due to my lack of understanding, but I need help. I have
created an SSIS package that will export the rows from a view to a text file
across the network. When I execute the package in the Execute Package
Utility the package runs as expected exporting the file to the network file.
However, when I run this package under the SQL Server agent (the step
executes the SSIS package saved on the local file system) I get the error
cannot write to DestinationConnectionFlatFile [file name]. I set my account
to the Server Agent service and restarted it with the same luck. Am I
missing something the SQL Server Agent needs to execute this package?

Reply With Quote
  #2  
Old   
Marcelo Vollbrecht
 
Posts: n/a

Default RE: SSIS Problem - 02-12-2009 , 09:19 PM








"j0hnj0hn" wrote:

Quote:
I think this is due to my lack of understanding, but I need help. I have
created an SSIS package that will export the rows from a view to a text file
across the network. When I execute the package in the Execute Package
Utility the package runs as expected exporting the file to the network file.
However, when I run this package under the SQL Server agent (the step
executes the SSIS package saved on the local file system) I get the error
cannot write to DestinationConnectionFlatFile [file name]. I set my account
to the Server Agent service and restarted it with the same luck. Am I
missing something the SQL Server Agent needs to execute this package?

Reply With Quote
  #3  
Old   
Marcelo Vollbrecht
 
Posts: n/a

Default RE: SSIS Problem - 02-12-2009 , 09:22 PM



Hi There.

Just check if you are trying to save this file in a location that your
server can actually see.

if your file destination is : c:\ExportFiles\File002003.txt for example,
this folder c:\exportfiles needs to be there.

if so, please let us know.

Reply With Quote
  #4  
Old   
John
 
Posts: n/a

Default Re: SSIS Problem - 02-16-2009 , 11:23 AM



On Feb 12, 8:22*pm, Marcelo Vollbrecht
<MarceloVollbre... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hi There.

Just check if you are trying to save this file in a location that your
server can actually see.

if your file destination is : *c:\ExportFiles\File002003.txt for example,
this folder c:\exportfiles needs to be there.

if so, please let us know.
The file exists and SSIS will export if I run it from the Execution
Package Utility without a problem. It is not an error that it can't
find the file, it can't open the file to write to it, so the file is
there.

John


Reply With Quote
  #5  
Old   
Pat M - City of Reno
 
Posts: n/a

Default RE: SSIS Problem - 02-24-2009 , 06:25 PM



I had the same problem except doing backups to a different server. You have
to run the SQL Server Agent under a Domain Admin account so you have access
to the drives under the service. If SQL Agent is running under Local Account
it won't work. Hope this helps.
Pat


"j0hnj0hn" wrote:

Quote:
I think this is due to my lack of understanding, but I need help. I have
created an SSIS package that will export the rows from a view to a text file
across the network. When I execute the package in the Execute Package
Utility the package runs as expected exporting the file to the network file.
However, when I run this package under the SQL Server agent (the step
executes the SSIS package saved on the local file system) I get the error
cannot write to DestinationConnectionFlatFile [file name]. I set my account
to the Server Agent service and restarted it with the same luck. Am I
missing something the SQL Server Agent needs to execute this package?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.