Author |
Topic |
Ken Blum
Constraint Violating Yak Guru
383 Posts |
Posted - 2003-12-08 : 16:56:27
|
I get the following error:****************Sql Server Enterprise Manager could not configure "MyServer" as the distributor for "MyServer"Error 14114: '(null)' is not configured as a distributor****************This occurs during the first step of creating a publication via EM: Configuring Distributor. |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2003-12-08 : 16:59:55
|
Did you create the distributor first? Go to the distributor server, right click on it in EM, then go to properties. Now click on the tab that says replication. Then click configure.Tara |
|
|
Ken Blum
Constraint Violating Yak Guru
383 Posts |
Posted - 2003-12-09 : 09:23:30
|
Yes, I get the same error there. It just happens on this one machine. I was able to setup another server as a distributor without a problem. |
|
|
VyasKN
SQL Server MVP & SQLTeam MVY
313 Posts |
Posted - 2003-12-09 : 09:37:34
|
Run SELECT @@SERVERNAME on your publisher and distributor. Make sure the command returns the correct server names. If not, you will have run sp_dropserver and sp_addserver with local parameter.--HTH,Vyashttp://vyaskn.tripod.com |
|
|
Ken Blum
Constraint Violating Yak Guru
383 Posts |
Posted - 2003-12-09 : 14:16:49
|
That's the problem because it is coming back NULL. However,sp_dropserver 'KTB-OPTIPLEX'sp_addserver 'KTB-OPTIPLEX'select @@SERVERNAMEdoes not resolve the problem. Any suggestions?Thanks |
|
|
VyasKN
SQL Server MVP & SQLTeam MVY
313 Posts |
Posted - 2003-12-09 : 15:00:46
|
You missed the 'local' parameter in sp_addserver. See BOL for more info, but here's a quick example:EXEC sp_addserver 'KTB-OPTIPLEX', 'local'GO--HTH,Vyashttp://vyaskn.tripod.com |
|
|
Ken Blum
Constraint Violating Yak Guru
383 Posts |
Posted - 2003-12-09 : 15:17:47
|
exec sp_dropserver 'KTB-OPTIPLEX'GOexec sp_addserver 'KTB-OPTIPLEX','local'GOSELECT @@SERVERNAMEGOStill shows Null. No Errors. If I don't do the sp_dropserver first I do get an error stating that it already exists. |
|
|
VyasKN
SQL Server MVP & SQLTeam MVY
313 Posts |
Posted - 2003-12-09 : 15:22:50
|
Okay, forgot to mention. Restart SQL Service. This is mentioned in BOL too.--HTH,Vyashttp://vyaskn.tripod.com |
|
|
Ken Blum
Constraint Violating Yak Guru
383 Posts |
Posted - 2003-12-09 : 15:49:09
|
As my 2 year-old would say, oh jeeesh.Thanks. That solved the problem. |
|
|
|