Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error setting up distriburor: '(null)' is not configured as a Distribu 1

Status
Not open for further replies.

NilsBevaart

Programmer
Apr 14, 2003
53
NL
I am trying to set up one of our SQL Servers as a distributor. I started out using the wizzard in the Enterprise Manager (using all standard values), where I got the follwing error:
SQL Server Enterprise Manager could not configure 'UNI-SRV-PRD' as the distributor for 'UNI-SRV-PRD'
Error 14114: '(null)' is not configured as a distributer.

I then tried the QA:
exec sp_adddistributor 'UNI-SRV-PRD'
GO
exec sp_adddistributiondb
@database = 'distributor',
@security_mode = 0,
@login = 'sa',
@password = '****',
@createmode = 0

I got the following error:
Server: Msg 14114, Level 16, State 1, Procedure sp_adddistributiondb, Line 157
'(null)' is not configured as a Distributor.

Can anyone help me out?

Nils Bevaart
 
Is your server actually registered under that name or are you using the machine name when the server is registered as "local"?

Replication doesn't like the servers registered as local. You need to delete the registration and re-register it under its machine name.

If that's not the issue, please let me know.



Catadmin - MCDBA, MCSA
Remember, "Work" is a four letter word. And you know what your mother told you about using four letter words!
 
The machine is registered under its name. Not local.

I tried this on the server itsself and on my desktop using a registered server in my EM.

Nils Bevaart
 
I found the answer. The server was not registered in the master database. Somehow the entry was missing. I added the server with the sp_addserver procedure.
After I stoped and started the server, it registered as a distributer as it should.

Thanks for the help.

Nils Bevaart
 
How can you tell if it is registered on the Master DB?

Thanks

Dan

----------------------------------------
There are 2 types of computer, the prototype and the obsolete!!
 
I'm not sure (I started the thread a few months ago) but I believe my @@servername gave a null value.


Nils Bevaart
 
Yeah so does mine - all sorted now. Thanks for time

D

----------------------------------------
There are 2 types of computer, the prototype and the obsolete!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top