You could use cfexecute to run dtsrun from the command line:

<cfexecute name = "C:\Program Files\Microsoft SQL
Server\80\Tools\Binn\dtsrun.exe"
   arguments = "/S<server> /E /N<dts_package>" 
   variable = "DTSOutput"
   timeout = "1">
</cfexecute>

(change the <> params to match your setup)

> -----Original Message-----
> From: Russ [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 07, 2005 11:19 AM
> To: CF-Talk
> Subject: executing a DTS from coldfusion
> 
> We have another vendor who's given us access to their sql database for
> certain tables that we copy into our database.  I have setup 
> a dts package
> which copies those tables into our database, and have 
> scheduled a job which
> does it every night.  
> 
>  
> 
> Now the client wants to be able to synchronize those tables 
> at will.  I've
> been pulling my hair out on this for a couple of days while I couldn't
> access CF-Talk (my mail server blocked all mail from it since 
> it was on a
> spam list due to the virus).  I tried everything I could 
> find, but  I either
> get some sort of error, or it looks like it succeeds, but the 
> tables never
> get updated.  The package and job work fine when I run them 
> through sql
> server, or execute as a scheduled job through sql.  Does 
> anyone have any
> thoughts on how to get it working in ColdFusion?


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223451
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to