I have a DTS package in which I have an ActiveX script that queries a database and then sends emails based on the contents using CDO--however It fails to create the CDO object. I am able to create the connection and recordset object just fine. The weird thing to me is that I can take the same script and run it in an ASP page on the same server and it works fine.<BR><BR>I put this in the DTS package.<BR><BR>Dim conn<BR>Dim CDO<BR><BR>set conn = createobject("adodb.connection")<BR>set CDO = createobject("CDONTS.NewMail")<BR><BR>I get the following error from the DTS package and it occurs on the line that creates the CDO object.<BR><BR>Error Code: 0<BR>Error Source= Microsoft VBScript runtime Error<BR>Error Description: ActiveX component can&#039t create object: &#039createobject&#039