Solved

Replication - Distribution Publiser

Posted on 2001-09-08
6
428 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

719 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