Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 18th, 2005, 01:25 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default CDONTS and ActiveX in a DTS Package

I am creating a DTS Package to run on a schedule.
The DTS Package should send an email.

1. I Select the content into a DTSGlobalVariable (Variant) in an Execute SQL Task
2. On success I go to an ActiveX script task that takes the data out of the global and sends and email...

All runs fine when the objMail.Send is removed from the script... When the .Send is there, I get an error "ActiveX Scripting encountered a Run Time Error durring the execution of the script."

Clearly this takes place when CDONTS tries to send the email-- I have never had to set up a server to use CDONTS- it was always already done... Is there some setting for the target server?


Hal Levy
I am here to help you, not do it for you.
That is, unless you hire me. I am looking for work.
__________________
Hal Levy





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with DTS PACKAGE mxwebb SQL Server DTS 1 November 28th, 2007 05:16 PM
DTS Package failing ros1188 SQL Server DTS 1 August 17th, 2005 08:27 AM
Package Problem (ActiveX) bmains SQL Server DTS 4 May 31st, 2005 08:35 AM
Scheduling DTS Package chiefg SQL Server DTS 11 April 30th, 2004 11:18 AM
DTS Package Deployment acdsky VB Databases Basics 1 February 22nd, 2004 12:25 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.