Greetings.
I'm using SQL Server 7. When I go through the "Configure Publisher and Distribution Wizard", when I press "Next" in the first screen, I get the already famous message:
"SQL Server Enterprise Mgr could not complete the wizard because @@SERVERNAME for '' is NULL. Use sp_addserver to set @@SERVERNAME."
In an attempt to solve this, I dropped this local server from the Linked Servers folder, then executed:
sp_addserver 'MyServer','LOCAL'
I then ran a query to sysservers and saw that "MyServer" has a srvid of 0.
Even though, when I run SELECT @@SERVERNAME I still get a null, and thus can't run the wizard!
Please somebody advise.
Thanks.
J.C.
I'm using SQL Server 7. When I go through the "Configure Publisher and Distribution Wizard", when I press "Next" in the first screen, I get the already famous message:
"SQL Server Enterprise Mgr could not complete the wizard because @@SERVERNAME for '' is NULL. Use sp_addserver to set @@SERVERNAME."
In an attempt to solve this, I dropped this local server from the Linked Servers folder, then executed:
sp_addserver 'MyServer','LOCAL'
I then ran a query to sysservers and saw that "MyServer" has a srvid of 0.
Even though, when I run SELECT @@SERVERNAME I still get a null, and thus can't run the wizard!
Please somebody advise.
Thanks.
J.C.