You may want to try the following to grant login 'flowersj' and the Snapshot
subsystem access to proxy id = 1(?):
use msdb
exec sp_grant_login_to_proxy @login_name = N'flowersj', @proxy_id = 1
exec sp_grant_proxy_to_subsystem @proxy_id = 1, @subsystem_name =
N'Snapshot'
If that works, I am sort of curious to know how your system got to the state
that it is currently in. It would be great if you can post some details on
the nature of the flowersj login, whether you are using a remote distributor
(snapshot jobs should be owned by distributor_admin), and which edition of
SQL Server you are using.
Thanks much.
-Raymond
"John F." <juan...@newsgroups.microsoft.com> wrote in message
news:AEF0BFB6-16CA-4869...@microsoft.com...
>I have tried both SQL logins with sa permissions and then windows logins
>also
> with sa permissions to both servers as well and I still get this message
> and
> the Snapshot Agent won't start - any ideas?
>
> Replication-Replication Snapshot Subsystem: agent NPRPROD-NPR-NPR-1
> failed.
> Unable to start execution of step 2 (reason: JobOwner flowersj doesn't
> have
> permissions to use proxy 1 for subsystem Snapshot). The step failed.
> --
> John F.
'flowersj' is a member of sysadmin server role and cannot be granted to or
revoked from the proxy. Members of sysadmin server role are allowed to use
any proxy.
Msg 14531, Level 16, State 1, Procedure sp_grant_proxy_to_subsystem, Line 48
Permission to access proxy already granted. Verify current permissions
assignments.
all logins Ive used are 'sa' rights - as far as the replication goes its
just a simple snapshot scenario, pull subscription, distributor running on
the publisher, & Im trying to start the snapshot agent to get the initial
sync. We are on the RTM of SQL2005. Both servers in the same domain. Is
there a folder I should share or something? Any help is greatly appreciated
- thanks!
--
John F.
Unable to start execution of step 2 (reason: Could not get proxy data for
proxy_id = 1). The step failed.
--
John F.
-Raymond
"John F." <juan...@newsgroups.microsoft.com> wrote in message
news:986692AB-536A-4DE1...@microsoft.com...
-Raymond
"John F." <juan...@newsgroups.microsoft.com> wrote in message
news:08BE8929-5E84-43EF...@microsoft.com...
2006-02-23 15:22:53.98 Connecting to Distributor 'NPRPROD'
2006-02-23 15:22:54.09 The replication agent had encountered an exception.
2006-02-23 15:22:54.09 Source: Replication
2006-02-23 15:22:54.09 Exception Type:
Microsoft.SqlServer.Replication.ReplicationAgentSqlException
2006-02-23 15:22:54.09 Exception Message: The remote server "NPRPROD" does
not exist, or has not been designated as a valid Publisher, or you may not
have permission to see available Publishers.
2006-02-23 15:22:54.09 Message Code: 14080
If this is indeed an access permission configuration issue as suggested by
the evidence we have so far, running the snapshot agent anywhere else other
than the distributor machine won't help not to mention that this is an
unsupported configuration that will likely result in suboptimal network
bandwidth utilization.
HTH
-Raymond
"John F." <juan...@newsgroups.microsoft.com> wrote in message
news:BFDE84F4-FBA9-4574...@microsoft.com...
In case you still stuck with
Replication-Replication Snapshot Subsystem: agent NPRPROD-NPR-NPR-1 failed.
Unable to start execution of step 2 (reason: JobOwner flowersj doesn't have
permissions to use proxy 1 for subsystem Snapshot).
Could you please run the following query and post back the results?
select * from sys.credentials
select * from msdb..sysproxies
select * from msdb..sysproxylogin
select * from msdb..sysproxysubsystem
Thanks
--
[ This posting is provided "as is" with no warranties and confers no
rights. ]
"John F." <juan...@newsgroups.microsoft.com> wrote in message
news:BFDE84F4-FBA9-4574...@microsoft.com...
(1 row(s) affected)
proxy_id name
credential_id
enabled description
user_sid
credential_date_created
-----------
--------------------------------------------------------------------------------------------------------------------------------
------------- -------
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -----------------------
(0 row(s) affected)
proxy_id sid
flags
-----------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -----------
(0 row(s) affected)
subsystem_id proxy_id
------------ -----------
(0 row(s) affected)
--
John F.
The results you sent indicates there are no proxy setting up for replication
agent use. This could because your previous change to configuring the
snapshot agent to run under the same account as SQLServerAgent or something
not set up correctly from the begining.
I would suggest you remove replication, and create replication from
begining, refer to Books online: How to: Create a Publication and Define
Articles (SQL Server Management Studio)
Please post back if you still encounter problems.
Thanks
Wanwen
--
[ This posting is provided "as is" with no warranties and confers no
rights. ]
"John F." <juan...@newsgroups.microsoft.com> wrote in message
news:81B1CBC9-2E1A-4FA2...@microsoft.com...