dbTalk Databases Forums  

Best way to allow users to execute DTS package???

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Best way to allow users to execute DTS package??? in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Spydrlink
 
Posts: n/a

Default Best way to allow users to execute DTS package??? - 01-04-2005 , 09:17 AM






I'm working in an environment where there's a need for certain users to be
allowed to execute a pre-made DTS package to update a database. Running a
schedule for the update isn't sufficient because at times it may need to be
done immediately. What is the best way to allow a user without Enterprise
Manager to be allowed to execute a DTS package? Is there a way I can do it
via an ASP page?

Thanks

Reply With Quote
  #2  
Old   
Fany Vargas [MSFT]
 
Posts: n/a

Default RE: Best way to allow users to execute DTS package??? - 01-05-2005 , 11:48 AM






1. Yes, it is possible to run a DTS Package from an ASP page, please see
the references below for more information:

HOW TO: Use DTS Package Events in Visual Basic .NET - ID: 321525
http://support.microsoft.com/?id=321525

INF: Execute a SQL Server DTS Package from Active Server Pages - ID: 252987.
http://support.microsoft.com/?id=252987


2. some alternate solutions are
-Use DTSRUN.exe command prompt utility (you can run this via the SHELL
command in VB)
-Create a sqlagent job which executes the DTS package and manually run the
job using sp_start_job

References:
SQL Books online topics:
DTS Programming Samples
DTS Tools
Creating DTS Packages with the DTS Object Model
Programming DTS Applications

Fany Vargas
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.

Are you secure? For information about the Strategic Technology Protection
Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.

Microsoft highly recommends that users with Internet access update their
Microsoft software to better protect against viruses and security
vulnerabilities. The easiest way to do this is to visit the following
websites:
http://www.microsoft.com/protect
http://www.microsoft.com/security/guidance/default.mspx


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.