DTS error after deleting xls file with script

20 pts.
Tags:
ActiveX
DTS
SQL
XLS
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

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).

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following