Solved

Replication - Distribution Publiser

Posted on 2001-09-08
6
426 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
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.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

777 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