Solved

Replication - Distribution Publiser

Posted on 2001-09-08
6
424 Views
Last Modified: 2008-02-01
I am new to Replication.
I am trying to make an MS SQL server a publisher.
As i follow the wizard and choose the defaults "Yes, Use 'MyServer' as Distributer" in the first screen in the wizard, and "No, Use the following settings" in the second screen in the wizard.
When i click on FINISH i get:
"SQL Enterprise Manager could not configure 'MyServer' as the distributor for 'MyServer'
Error 21007: Cannot add the remote distributor at this time, Make sute that the local server is configured as a Distribution Publisher at the distributor.
Server Added
Server network name set
Remote logins for remote server .... has been dropped
Server dropped
"

Please help!.
0
Comment
Question by:talal
  • 4
  • 2
6 Comments
 
LVL 4

Expert Comment

by:TheSpirit
ID: 6470047
Hi,
I thin you need to look in sysservers, of you perform a select * from sysservers (in Master database) this will give a list of the remote servers, look at MyServer and see what the srvid is (it should be 0 for local) if it is not you will need to use something like sp_dropserver and sp_addserver Myserver, local (check this in BOL for syntax)
0
 

Author Comment

by:talal
ID: 6471206
Thanks The spirit, I will try this,
Now that brings up another question. ... I was having problems with sp_addserver and now that might answer.
The way i used it was:
sp_addserver 'MyServer', 'Local', 'MyServer'
and i kept wondering it 'local' should be with quotes or without quotes. or even the name of the server (e.g. 'ServerName')
which one is the correct one?
The bol does not really explain this.. and when i executed:
sp_addserver 'MyServer', 'Local', 'MyServer'
i did not get any error so i thought i did it right.

Thank you,
0
 
LVL 4

Accepted Solution

by:
TheSpirit earned 200 total points
ID: 6474027
I think you should be able to use
sp_addserver 'Myserver',local

also try
select * from master..sysservers

this will tell you what you have.
0
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 

Author Comment

by:talal
ID: 6474622
srvid was indeed 0. So it seems like this was not the problem.

Other ideas?
0
 

Author Comment

by:talal
ID: 6501917
Could anyone help please?  thos is still a problem :(
0
 

Author Comment

by:talal
ID: 7472569
Cleaning up.. well... Not solved however if anyone has more comments plz let me know!
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

In this article—a derivative of my DaytaBase.org blog post (http://daytabase.org/2011/06/18/what-week-is-it/)—I will explore a few different perspectives on which week today's date falls within using Microsoft SQL Server. First, to frame this stu…
Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now