Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SQL View not Exporting to Excel via DTS Package Expand / Collapse
Author
Message
Posted Tuesday, February 26, 2013 10:45 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, March 14, 2014 5:48 AM
Points: 3, Visits: 15
Hi I hope I am posting this to the correct forum.

I fairly new to SQL Server and SSDT so here goes.

I have a package that does the following steps:

1. File system task that delete a backup file.
2. File system task Renames the current file to backup file name.
3. File system task that copies a existing file that only has headers in it for the extract of the data for a view.
4. Dataflow task that inserts the data from the SQL to the Excel file in step 3. [color=#925d400]This is where the process breaks, the data is not inserted into the Excel file.[/color]
There are 4 more steps that do the same thing as steps 1-4 above the only difference is it is on different files in the same location as steps 1-4 and those 4 steps complete without any issues.

I am wondering if anyone has come across this problem before and how they resolved the issue.

BTW when I run the package from my local SSDT the process runs and works without any issues. The failure only happens when the package is deployed on the SQL Server.

If this isn't the right forum for this question. Please let me know the correct forum and I will be happy to post it there.

Thanks

NB
Post #1424182
Posted Friday, March 1, 2013 12:02 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 8:12 AM
Points: 7,135, Visits: 12,746
Define "breaks." Do you receive an error or does the package execution succeed but no data is present in the Excel file?


__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Post #1425371
Posted Friday, March 1, 2013 6:31 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, March 14, 2014 5:48 AM
Points: 3, Visits: 15
Hi, thanks for asking the package succeeds with no error messages, but the data is not written to the excel file.
Post #1425465
Posted Friday, March 1, 2013 8:13 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 8:12 AM
Points: 7,135, Visits: 12,746
What does your logging say when run through SQL Server as compared to when it runs successfully through SSDT?

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Post #1425534
Posted Saturday, March 2, 2013 6:34 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, March 14, 2014 5:48 AM
Points: 3, Visits: 15
Thanks for the responses, we found this was a permissions issue. The issue has been resolved.
Post #1425912
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse