Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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 31st, 2004, 08:48 AM
Registered User
 
Join Date: May 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Running DTS from ASP

Hi Everyone,

Does anyone know how to run a DTS pkg. from an ASP page. I do/can not have Admin privileges granted to me, so using the following methods is out:

1. Running using Exec Master..xpcmdshell
2. As a scheduled job
3. Running a Batch file from ASP page (with dtsrun in the batch file)
4. Executing from the ASP page by using a DTS object

Our DBA :( cannot grant admin. rights to us. Any alternative suggestion would be welcome.

Thanks,
KD

 
Old May 31st, 2004, 09:49 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to acdsky
Default

Hi

Is the site running on the same server as the SQL DB? If not you could excecute the package from another machine using your own set of dll files. I could send you a list of the dll's and resource files or you could just install Enterprise Manager on that server.

Why do you require admin right to make the ASP/VBS to work? If the IIS user running the page has got rights to the location of the DLL/exe's (SQLBinn) it should work. Normally User group have got access by default to these directories.

If tis doesnt help you in anyway give me some more details of your current setup.

Regards
Marnus
 
Old May 31st, 2004, 02:11 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hello,

One of the solutions I did was use a SQL Service account and used that to execute the package. I tried using a SQL Server login to execute the package, and this didn't work through code. The only way was to use the service account to execute the package through a scheduled task. This was set up by the DBA. Unfortunately, it is this, or use a SQL Server account to execute the xp_cmdShell proc using the dtsrun utility.

You'll need to have privileges to do whatever though.

Brian





Similar Threads
Thread Thread Starter Forum Replies Last Post
DTS Running on Multiple Databases afward SQL Server DTS 0 November 8th, 2006 07:29 PM
Running stand alone DTS package Dhodie SQL Server DTS 0 September 5th, 2005 02:23 AM
Deleted DTS Tasks still running net4hire SQL Server DTS 3 January 3rd, 2005 09:10 AM
DTS Running Until Non Stop Jane SQL Server DTS 2 February 29th, 2004 05:21 AM
DTS running error Jane SQL Server DTS 0 February 9th, 2004 02:10 AM





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