Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 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 March 2nd, 2007, 02:28 AM
Registered User
 
Join Date: Oct 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dynamic snapshot Job not Executing

Hai all,

     I an doing dynamic snapshot(merge replication) using a Job. I have created the Job but the Job is not running and it is displaying the following error.
"The login '5' does not have access permission on publication 'LoanProducts' because it is not in the publication access list."
(Source: KRISHNA (SQL-DMO); Error number: 21049)

Source: KRISHNA - It is the server
'5' - denotes the DB Id
'LoanProducts' - Publication Name

I think the problem is with the DynamicFilterLogin parameter which I use.

plz anybody help me...

The Code for Running agent is as follows:
------------------------------------------
--Run the Agent on LoanProducts for this DBID
        
            SET @STEP = 'Run agent - LoanProducts'
            SET @CMD = '-Publisher [' + @Publisher + '] '
                     + '-PublisherDB [' + @PublisherDB + '] '
                     + '-Distributor [' + @Publisher + '] '
                     + '-Publication [LoanProducts] '
                     + '-ReplicationType 2 '
                     + '-DistributorSecurityMode 1 '
                     + '-DynamicFilterLogin [' + @DBID + '] '
                     + '-DynamicSnapshotLocation [' + @UNCROOT + '\LoanProducts\]'


regards,
krishna kumar





Similar Threads
Thread Thread Starter Forum Replies Last Post
Snapshot doesn't work roy_mm Reporting Services 0 July 22nd, 2008 08:44 AM
How to Query Snapshot of Data in % feets SQL Server 2000 4 November 8th, 2007 04:41 AM
Help Creating Snapshot Query eusanpe Access VBA 3 July 12th, 2007 01:33 PM
Take Snapshot into JPG file r_s_pathak Visual C++ 0 January 27th, 2005 03:20 AM
how to open Snapshot file learnvb Access VBA 2 January 12th, 2004 04:52 PM





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