juan Site Admin
註冊時間: 2004-03-31 文章: 54 來自: Taiwan
|
發表於: 星期四 四月 08, 2004 10:25 am 文章主題: Error Message 14114: "null" 並未設定為散發者 |
|
|
PRB: Error Message 14114: "(NULL) is not configured as a distributor"
The information in this article applies to:
Microsoft SQL Server 2000 (all editions)
This article was previously published under Q302223
SYMPTOMS
When you try to set up a SQL Server server as a distributor for replication, the following error message may occur:
Error 14114:(NULL) is not configured as a distributor
CAUSE
The error message appears because there is not an entry for the local server in the sysservers table in the master database.
To verify that there is no entry for the local server in the sysservers table in the master database, connect to the local server and run "select @@servername" from Query Analyzer. If a (NULL) is returned, then an entry for the local server does not exist in the sysservers table in the master database.
WORKAROUND
To correct the problem, use these steps:
Run this code:
use master
go
select * from sysservers
go
Identify the name of the local server in the list. If the name exists, and the server id is anything other than 0, run the following statement and replace "yourservername" with the name of the local server:
sp_dropserver 'yourservername','droplogins'
If a non-local server has a server id value of 0, then you need to drop that entry and run the sp_dropserver stored procedure.
Add the local server back to the list by running this code:
sp_addserver 'localservername', 'local'
You must stop and then restart the SQL Server server for the changes to take effect. After the server has been restarted, run "select @@servername" to verify that the changes have been applied. Executing "select @@servername", should return the name of your local server with a server id of 0.
REFERENCES
SQL Server 2000 Books Online; topic: "Renaming Servers" _________________ This is Juan (https://juan.tw)
I'd like to be a teardrop,
To be born in your eye,
To live my life on your cheek,
And on your lips to die. |
|