dbTalk Databases Forums  

Rights to run a DTS Package

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


Discuss Rights to run a DTS Package in the microsoft.public.sqlserver.dts forum.



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

Default Rights to run a DTS Package - 10-19-2005 , 08:11 AM






Hi all,
I am trying to run a DTS package from a Batcch file. I coded the batch file
as follows:
dtsrun /s sqlserver /e /n "currents_import" /U Acctname /P password
pause

The username and password are the same as the owner of the package. Does it
matter the user is not logged onto her machine as the owner?
What rights does a non SA need to run this package when they log into thier
machine NOT as the owner?

TIA,
Joe


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Rights to run a DTS Package - 10-19-2005 , 01:46 PM






Hello jaylou,

The U and the P here are ONLY to get onto the SQL Server housing the packages.
They have nothing to do with the package per se. The connections within
the package determine what credentials are used and whether you can connect
to something.

Allan

Quote:
Hi all,
I am trying to run a DTS package from a Batcch file. I coded the
batch file
as follows:
dtsrun /s sqlserver /e /n "currents_import" /U Acctname /P password
pause
The username and password are the same as the owner of the package.
Does it
matter the user is not logged onto her machine as the owner?
What rights does a non SA need to run this package when they log into
thier
machine NOT as the owner?
TIA,
Joe



Reply With Quote
  #3  
Old   
jaylou
 
Posts: n/a

Default Re: Rights to run a DTS Package - 10-19-2005 , 01:59 PM



Thank you, That explains the reason I can execute the package and the user
can't.

Do you know if there is a server role that will allow the user to run a DTS
package that she is not the owner of?
Thanks again,
Joe

"Allan Mitchell" wrote:

Quote:
Hello jaylou,

The U and the P here are ONLY to get onto the SQL Server housing the packages.
They have nothing to do with the package per se. The connections within
the package determine what credentials are used and whether you can connect
to something.

Allan

Hi all,
I am trying to run a DTS package from a Batcch file. I coded the
batch file
as follows:
dtsrun /s sqlserver /e /n "currents_import" /U Acctname /P password
pause
The username and password are the same as the owner of the package.
Does it
matter the user is not logged onto her machine as the owner?
What rights does a non SA need to run this package when they log into
thier
machine NOT as the owner?
TIA,
Joe




Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Rights to run a DTS Package - 10-19-2005 , 02:13 PM



Hello jaylou,

The package owner is more or less a "Non problem".

Package Ownership Issues
(http://www.sqldts.com/default.aspx?212)

If your user cannot execute the package then from your syntax (more in a
bit) they are not authenticating to the SQL Server as a whole.

In your syntax you specify a trusted connection tothe sql server AND use
sql server credentials. Both are not necessary.


Allan




Quote:
Thank you, That explains the reason I can execute the package and the
user can't.

Do you know if there is a server role that will allow the user to run
a DTS
package that she is not the owner of?
Thanks again,
Joe
"Allan Mitchell" wrote:

Hello jaylou,

The U and the P here are ONLY to get onto the SQL Server housing the
packages. They have nothing to do with the package per se. The
connections within the package determine what credentials are used
and whether you can connect to something.

Allan

Hi all,
I am trying to run a DTS package from a Batcch file. I coded the
batch file
as follows:
dtsrun /s sqlserver /e /n "currents_import" /U Acctname /P password
pause
The username and password are the same as the owner of the package.
Does it
matter the user is not logged onto her machine as the owner?
What rights does a non SA need to run this package when they log
into
thier
machine NOT as the owner?
TIA,
Joe



Reply With Quote
  #5  
Old   
jaylou
 
Posts: n/a

Default Re: Rights to run a DTS Package - 10-19-2005 , 02:33 PM



Thank you,
I read the document but it doesn't say what rights the user needs.
She is a datareader of the Database this pacakage hits. and she is in the
msdb database as public.

I will do more testing with my user name and password on a dev box to see if
there is any other roles she will need.

Thanks,
Joe

"Allan Mitchell" wrote:

Quote:
Hello jaylou,

The package owner is more or less a "Non problem".

Package Ownership Issues
(http://www.sqldts.com/default.aspx?212)

If your user cannot execute the package then from your syntax (more in a
bit) they are not authenticating to the SQL Server as a whole.

In your syntax you specify a trusted connection tothe sql server AND use
sql server credentials. Both are not necessary.


Allan




Thank you, That explains the reason I can execute the package and the
user can't.

Do you know if there is a server role that will allow the user to run
a DTS
package that she is not the owner of?
Thanks again,
Joe
"Allan Mitchell" wrote:

Hello jaylou,

The U and the P here are ONLY to get onto the SQL Server housing the
packages. They have nothing to do with the package per se. The
connections within the package determine what credentials are used
and whether you can connect to something.

Allan

Hi all,
I am trying to run a DTS package from a Batcch file. I coded the
batch file
as follows:
dtsrun /s sqlserver /e /n "currents_import" /U Acctname /P password
pause
The username and password are the same as the owner of the package.
Does it
matter the user is not logged onto her machine as the owner?
What rights does a non SA need to run this package when they log
into
thier
machine NOT as the owner?
TIA,
Joe




Reply With Quote
  #6  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Rights to run a DTS Package - 10-19-2005 , 03:11 PM



Hello jaylou,

Public is in MSDB and can by default do everything with DTS packages. So
long as the user is on the server they are good so no need to put the user
themselves in there. What is the error you see? If the connections in the
package are using trusted authentication and the user is only a datareader
on the sources to the data what is the destination?

Allan

Quote:
Thank you,
I read the document but it doesn't say what rights the user needs.
She is a datareader of the Database this pacakage hits. and she is in
the
msdb database as public.
I will do more testing with my user name and password on a dev box to
see if there is any other roles she will need.

Thanks,
Joe
"Allan Mitchell" wrote:

Hello jaylou,

The package owner is more or less a "Non problem".

Package Ownership Issues
(http://www.sqldts.com/default.aspx?212)
If your user cannot execute the package then from your syntax (more
in a bit) they are not authenticating to the SQL Server as a whole.

In your syntax you specify a trusted connection tothe sql server AND
use sql server credentials. Both are not necessary.

Allan

Thank you, That explains the reason I can execute the package and
the user can't.

Do you know if there is a server role that will allow the user to
run
a DTS
package that she is not the owner of?
Thanks again,
Joe
"Allan Mitchell" wrote:
Hello jaylou,

The U and the P here are ONLY to get onto the SQL Server housing
the packages. They have nothing to do with the package per se. The
connections within the package determine what credentials are used
and whether you can connect to something.

Allan

Hi all,
I am trying to run a DTS package from a Batcch file. I coded the
batch file
as follows:
dtsrun /s sqlserver /e /n "currents_import" /U Acctname /P
password
pause
The username and password are the same as the owner of the
package.
Does it
matter the user is not logged onto her machine as the owner?
What rights does a non SA need to run this package when they log
into
thier
machine NOT as the owner?
TIA,
Joe



Reply With Quote
  #7  
Old   
jaylou
 
Posts: n/a

Default Re: Rights to run a DTS Package - 10-19-2005 , 03:22 PM



I am not sure of the exact error, but it was that the user did not have
rights to the table in the database. the table is a temp table that is
dropped and recreated at the begining of the run. she is a datareader on the
destination database, and she has full rights to the excel spreadsheet that
is being imported into the temp table.

I am baffled with this one.

"Allan Mitchell" wrote:

Quote:
Hello jaylou,

Public is in MSDB and can by default do everything with DTS packages. So
long as the user is on the server they are good so no need to put the user
themselves in there. What is the error you see? If the connections in the
package are using trusted authentication and the user is only a datareader
on the sources to the data what is the destination?

Allan

Thank you,
I read the document but it doesn't say what rights the user needs.
She is a datareader of the Database this pacakage hits. and she is in
the
msdb database as public.
I will do more testing with my user name and password on a dev box to
see if there is any other roles she will need.

Thanks,
Joe
"Allan Mitchell" wrote:

Hello jaylou,

The package owner is more or less a "Non problem".

Package Ownership Issues
(http://www.sqldts.com/default.aspx?212)
If your user cannot execute the package then from your syntax (more
in a bit) they are not authenticating to the SQL Server as a whole.

In your syntax you specify a trusted connection tothe sql server AND
use sql server credentials. Both are not necessary.

Allan

Thank you, That explains the reason I can execute the package and
the user can't.

Do you know if there is a server role that will allow the user to
run
a DTS
package that she is not the owner of?
Thanks again,
Joe
"Allan Mitchell" wrote:
Hello jaylou,

The U and the P here are ONLY to get onto the SQL Server housing
the packages. They have nothing to do with the package per se. The
connections within the package determine what credentials are used
and whether you can connect to something.

Allan

Hi all,
I am trying to run a DTS package from a Batcch file. I coded the
batch file
as follows:
dtsrun /s sqlserver /e /n "currents_import" /U Acctname /P
password
pause
The username and password are the same as the owner of the
package.
Does it
matter the user is not logged onto her machine as the owner?
What rights does a non SA need to run this package when they log
into
thier
machine NOT as the owner?
TIA,
Joe




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.