473,414 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

Merge Replication

I am trying to build a merge replication. I created publisher and
distributer at the same machine. I created PUSH Subscribtion. However,
I am getting an error from Agent
"The process could not connect to Subscriber 'MARSHWREN'."
and from Data Source

"Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'."

If someone can help me to solve this problem I really appreciate it
Regards

Jul 23 '05 #1
4 2128
On 21 Dec 2004, laststubborn wrote:
I am trying to build a merge replication. I created publisher and
distributer at the same machine. I created PUSH Subscribtion. However,
I am getting an error from Agent
"The process could not connect to Subscriber 'MARSHWREN'."
and from Data Source

"Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'."

If someone can help me to solve this problem I really appreciate it
Regards


The SQL Servers need to have security contexts that make sense to each
other. If you leave them running as localsystem you'll get errors like
this. MS recommends you change the services to run as Domain accounts,
with both servers as part of the domain. I have also used local accounts
with identical usernames and passwords with success. I'm not sure exactly
what security permissions need to be set; basically I have both the
MSSQLSERVER and SQLSERVERAGENT services on both machines running as
Domain (or identical local) accounts with admin privledges on both
machines; however this is probably overkill. You can probably get away
with making sure both accounts have run as service permissions along with
permission to any network shares holding snapshots and directories used
by sql server - and this would be more secure.

I'm sure someone else here can give you more detail info but this might
get you going in the right direction.

Dave

Jul 23 '05 #2
Thank you Dave
I chnaged the machine I tried to use domain account but I have still
problems and errors

As

Jul 23 '05 #3
On 21 Dec 2004, laststubborn wrote:
Thank you Dave
I chnaged the machine I tried to use domain account but I have still
problems and errors

As


Is it the same error? Did you make sure the domain account had
sufficient priviledges on each box? "Login failed for user 'NT
AUTHORITY\ANONYMOUS LOGON'." really seems to indicate a security context
problem and that it's not trying to log in as a domain account. Look in
BOL for the sp_adddistpublisher (or MSDN, or just sp_helptext it). This
procedure has some parameters (@security_mode, @trusted, etc) which define
how the authentication should happen. You may need to adjust these values
(or if you are using enterprise manager to set things up, determine how it
is choosing these values and change your use of their wizards
accordingly). Also just for now I would create a local account on each
computer with the exact same name and password and make it an
administrator on each and then set the MSSQLSERVER and SQLSERVERAGENT to
run as that account. This will simplify things and remove any external
variables which could be causing a problem (for instance if your domain
authentication machine was down, or domain permissions misset). Once you
get things up and running you can change it back to a domain account and
straighten out any domain related issues.

Dave

Jul 23 '05 #4
Thanks again Dave;

I realized that this error was coming from nature of the replication.
Merge Replication needs to have administrator to be logged on the
machine. So I solved that part. My rpoblem is now I have set up the
replication it is working on the same machine however the problem is
the client machine. We want the client machine to work off line. When I
created the connection to the server it is working as a duplicate, so
if I shut down or close the server I cannot open my subscription
account. I am looking for a solution that if you can help me
appreiciate that
Regards
As

Jul 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Karthik | last post by:
Hi, We have setup a publisher and a distributor in SQL 2000 running SP3. Alongwith this we have setup a merge replication agent and its running successfully inside the same network. I allow...
0
by: Gert Wurzer | last post by:
Hi! I hope anyone can help me with this very important problem! Since configurig one subscriber in our merge replication scenario to a subscribing publisher we get a lot of merge conflicts...
0
by: hd | last post by:
Are there any standard approaches used to purge records from database in merge replication senario ? We are using merge replication between two sql server 2000 databases. These databasess have...
3
by: jaykchan | last post by:
One of the table that is in a merge replication somehow is missing an index. Strangely, only the table in one of the subscriber of the merge replication is missing the index; another subscriber and...
3
by: Robin Tucker | last post by:
I have a product that sits on a main server and wish to implement functionality to allow salesmen to come along, pick up a snapshot of the database, go away and maybe modify/add to it and then come...
1
by: EoRaptor013 | last post by:
We have a situation almost exactly like that in the MS documentation vis a vis peer-to-peer replication. We have three servers and three user groups, one each in Chicago, New York, and Bermuda....
0
by: sk.rasheedfarhan | last post by:
Hi all, I set the configuration for Merge replication for Subscription on one database and I have created the Merge replication for publication on another machine. And I updated columns of...
0
by: Piotr Wojtysiak | last post by:
Hi. I have a problem with trigger FOR in merge-replication. My trigger is not "NOT FOR REPLICATION" and it's modified table with beyond replication. In replication this trigger not fire. Why?...
8
by: Benzine | last post by:
Hi, I have an issue with my replication at the moment. I will try to describe the scenario accurately. I am using MS SQL 2000 SP4 with Merge Replication. Subscribers connect to the publisher...
0
by: ho.horace | last post by:
Dear All, I am using SQL 2005 as pub and SQL EXPRESS as sub with Merge replication. Got the following error message The schema script 'CD_InTransit_v_153.sch' could not be propagated to the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.