20 pts.
 DTS error after deleting xls file with script
All, After I have deleted a xls file using an ActiveX script the DTS Package fails because the file is not there. I then have to go into the properties of the task and go to the destination tab and click the create button. The I have go to the Transformation tab and then run the package for it to complete. How can I get this to complete without having to go into the DTS package and then maunally intervene? Thanks, Gabriel Boyer

Software/Hardware used:
ASKED: January 9, 2008  5:11 PM
UPDATED: January 10, 2008  2:34 AM

Answer Wiki:
The easist way is to store a blank template of the excel sheet. Then before you try to export data to it, copy the template into place then use it as normal, then delete it when you are done with it (or the next day when the package starts up again).
Last Wiki Answer Submitted:  January 10, 2008  2:34 am  by  Denny Cherry   64,520 pts.
All Answer Wiki Contributors:  Denny Cherry   64,520 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Check out my SQL Server blog “SQL Server with Mr Denny” for more SQL Server information.

 64,520 pts.