Re: Security

From: mat (mat_at_discussions.microsoft.com)
Date: 12/13/04


Date: Mon, 13 Dec 2004 08:23:05 -0800

i have tried it using both the account of the agent, a domain account that is
SA on both SQl servers, by running a job and my domain account which is also
SA on both SQL servers by using exec xp_cmdshell 'dtsrun'. The account used
in the dts package connection is a SQL Login that is SA on the server it is
connecting to ( i have also tried it using a domain account with SA access).

"jrpm" wrote:

> What account is executing DTSRUN, ie, the batch component.
>
> If you are running outside of SS, then you need to check that account in
> Scheduled Tasks. There is an option to specify who runs the job.
>
> "mat" wrote:
>
> > I am, the agents login is and i have changed the SQL login that the
> > connection to the other server uses to sysadmin.
> >
> > So basicly, all logins used are sysadmin
> >
> > i have even tried to get it to work by giving the SQL Agents login sysadmin
> > rights on the other server and not even this works
> >
> > i am completly stuck.....
> >
> > "Uri Dimant" wrote:
> >
> > > mat
> > > Are you member of SysAdmin Server Role?
> > >
> > >
> > > "mat" <mat@discussions.microsoft.com> wrote in message
> > > news:D93B7A67-FDE5-49CC-919E-33BEE08A3ECD@microsoft.com...
> > > > Thanks
> > > > The connection within the package uses a SQL login for the SQL server it
> > > > connects to, so even though it is executing using the agent, so using the
> > > > agents permissions, i presumed that the actual connection will be made
> > > using
> > > > the defined login.
> > > >
> > > > is this true?
> > > >
> > > > "Uri Dimant" wrote:
> > > >
> > > > > mat
> > > > > When you execute the DTS by clicking on the package it is running
> > > under
> > > > > permissions that defined on your workstation (local account probably) ,
> > > as
> > > > > opposite when it runs with a job ,it should be run under SQL Server
> > > Agent
> > > > > account (It should be most likely a domain account)
> > > > >
> > > > >
> > > > >
> > > > > "mat" <mat@discussions.microsoft.com> wrote in message
> > > > > news:5520F76E-AE6E-4B14-AE67-2CCBBC4179DC@microsoft.com...
> > > > > > I have a dts package that transfers data from one sql server to
> > > another.
> > > > > it
> > > > > > uses a SQL login to connect to the second server. When the DTS package
> > > is
> > > > > > executed it runs fine but if it is executed from a job or using the
> > > dtsrun
> > > > > > utility it always fails
> > > > > >
> > > > > > Can anyone help?
> > > > >
> > > > >
> > > > >
> > >
> > >
> > >



Relevant Pages

  • Re: SQL User SID format?
    ... When you move databases to another server, you can remap users to logins ... capability to remap a user to a login with new ALTER USER syntax - I ... The new ALTER USER syntax works for remapping both SQL and Windows ... this means you already have access to a SID from the syslogins catalog; ...
    (microsoft.public.sqlserver.security)
  • Re: SQL Server on XP Home Network
    ... The sa account is the system administrator "God" account witihin SQL ... This account is a SQL-Server login. ... You might be able to use Enterprise Manager to go in and create a new SQL ... Select the "SQL Server Authentication" ...
    (microsoft.public.sqlserver.setup)
  • Re: SQL Server 2000 Replication Agents Credentials
    ... the snapshot agent IS using sql login to connect to the ... The pull distribution agent IS using sql ... Do you know where SQL Server 2000 saves the sql ...
    (microsoft.public.sqlserver.replication)
  • Re: Can you update/process AS2005 cube with AMO and SQL authentica
    ... We have cases where the AS server and the Data Source server reside on 2 ... The data source is properly secured using SQL Server ... login and no serious client will accept the login with no password. ...
    (microsoft.public.sqlserver.olap)
  • Login failed for user (null). Reason: Not associated with a trus
    ... I'm running SQL 2000 on two machines, one developer edition, one standard. ... server, running windows 2000 server. ... Basicly for troubleshooting, I also have tried using the sa Login, ...
    (microsoft.public.dotnet.framework.aspnet.security)