July 14, 2010 at 12:11 pm
It seems that the only thing I can run is either a C#.Net or VB.Net script. Is there any other way? I'm not allowed full blown access to SSIS so I have BIDS instead. I don't have SSRS so I have to deliver my emails (at the end of my SSIS package) thru a VBScript.
July 14, 2010 at 12:35 pm
You can use ActiveX script task in Control Flow to write your VB code.. But its not suggested as its being deprecated
July 14, 2010 at 12:48 pm
I've never done this before. I currently have a .vbs file I'd like to run at the end of a SSIS package. Do I just drag an ActiveX Script Task onto the IDE and point to it?
Here's what I've tried:
1. dragged an ActiveX Script Task onto the IDE
2. in the 'Script' line I used the Browse button to put my file into the 'Script' line. The actual code now appears on the 'Script' line.
3. I am getting a red X error on my ActiveX Script Task: 'Function not found.'
Am I missing something here?
Oh and btw, hopefully I will be getting the rights to Database Mail and SSRS and I won't have to do things like this in the near future.
July 14, 2010 at 2:29 pm
I am not much familiar with ActiveX script task. I did use it when migrating from DTS and had the same problem... so slowly changed the code to Vb.net .. It seems that SSIS does not support all the built in VB Functions.. I assume that you will schedule this as a job ... If so, try to execute an SP after this Package in the job to send a mail.. you will be able to find many code snippets to send an Email using SQL
July 15, 2010 at 12:34 pm
use "Send Mail task" for sending mails or you can use ActiveX script task too
for correcting error in ActiveX script task, you have to enter the entrypoint property
refer attached image, pls
July 15, 2010 at 1:03 pm
We don't have the mail client hooked up to this server, that's why I'm having to use a VB Script.
PaVeRa22, your example worked perfectly. This is a whole new world. Until we get full blown SSIS, SSRS, and the mail client installed, this will do nicely. Thanks, again.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply