[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Replication - Distribution Publiser

Posted on 2001-09-08
6
Medium Priority
?
431 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 400 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

656 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