473,769 Members | 1,959 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\ANONY MOUS LOGON'."

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

Jul 23 '05 #1
4 2155
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\ANONY MOUS 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\ANONY MOUS 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_adddistpubli sher (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
4825
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 anonymous subscriptions and the merge publication works successfully for anonymous pull subscriptions also. Now i am trying to setup the same scenario to setup replication over the Internet using FTP. I have created a FTP site and given certain...
0
2049
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 type 10 reason code 2. Because we have the german version i translate the reason text as meaningful as possible: The row was updated at 'publisher.database' but could not be updated
0
1935
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 differnt purging frequencies ( purging frequency of subscriber database is 6 month where as that of publisher is year). Is there anyway to purge data from subscriber and publisher without getting these deletion reflected in replication ( basically...
3
4091
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 the publisher of the merge replication don't have this problem. How should I add the missing index back to that table? My understanding is that making structural change on a table that is in merge-replication is different from making change on...
3
1529
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 back and "synchronise" their data. I'm reading up on Merge Replication for this purpose. But anyway, I created a publisher on my server and it went away and generated a "rowguid" column on all of my tables (my tables all have an Identity...
1
2028
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. Because of our business practices, we are fairly confident that only one group will be updating a given record at any one time but the users will be updating their own local database servers and those updates must appear on all three servers....
0
1402
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 subscription database table and I find publication machine database table also updated with subscription database table, here my problem starts, My problem is when I run replication for merge transaction, I have to find instance of the Windows on my...
0
1286
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? Thank's for help. PW
8
7880
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 to upload/download changes. I have a trigger set up on one table which updates another, here is an example of the trigger: "CREATE TRIGGER qt_t_projTotal ON dbo.qt_quotes
0
2210
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 subscriber. Error Detail: The schema script 'CD_InTransit_v_153.sch' could not be propagated to
0
9579
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9420
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10205
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9984
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9851
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7401
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3949
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3556
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2811
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.