Russ,
I have had great success running a DTS from CF in the past using the info in
this article:
http://www.pengoworks.com/index.cfm?action=articles:spExecuteDTS

Scott

-----Original Message-----
From: Russ [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 07, 2005 1:52 PM
To: CF-Talk
Subject: RE: executing a DTS from coldfusion

This might work, but like you said, it has security implications.  Also
current CF is running as local system I believe, something which will change
when we move servers.  This will probably not work as the local system on
one pc doesn't have the proper permissions on another pc.  Is there another
way which doesn't require cross server permissions to be set up?  

-----Original Message-----
From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 07, 2005 1:46 PM
To: CF-Talk
Subject: RE: executing a DTS from coldfusion

I can hear security alarms firing now, but you could use PSTools,
http://www.sysinternals.com/Utilities/PsTools.html.  One of them lets
you remotely execute a process on a different server, assuming you have
admin rights to the remote server, AND, assuming your CF user has the
correct permissions (which it must if you tried dtsrun). 

> -----Original Message-----
> From: Russ [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 07, 2005 11:41 AM
> To: CF-Talk
> Subject: RE: executing a DTS from coldfusion
> 
> Did that... the problem is ColdFusion is running on a 
> different server then
> SQL Server.  I have tried to get the proper dll's over to the 
> CF server, but
> ended up just installing the client tools for SQL server on 
> the ColdFusion
> server.  
> 
> It executes fine and doesn't give me any errors.  However, 
> the tables are
> not updated.   It's really weird.  
> 
> Russ
> 
> -----Original Message-----
> From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 07, 2005 1:29 PM
> To: CF-Talk
> Subject: RE: executing a DTS from coldfusion
> 
> 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)

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







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223459
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to