?
Solved

Replication - Distribution Publiser

Posted on 2001-09-08
6
Medium Priority
?
429 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
Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

 

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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
Suggested Courses

764 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