If while trying to setup a new subscription for SQL Server 2005 Replication
using Management Studio you receive this error:

TITLE: New Subscription Wizard

Microsoft SQL Server Management Studio is unable to access replication
components because replication is not installed on this instance of SQL
Server. For information about installing replication, see the topic
Installing Replication in SQL Server Books Online.

For help, click:

http://go.microsoft.com/fwlink? ProdName=Microsoft+SQL+Serve &ProdVer=9.00.1399.06 &EvtSrc=Microsoft.SqlServer.Management.UI.ReplUtilitiesErrorSR &EvtID=ReplicationNotInstalled &LinkId=20476


SQL Server replication requires the actual server name to make a
connection to the server. Connections through a server alias, IP address, or
any other alternate name are not supported. Specify the actual server name,
‘servername\instance’. (Replication.Utilities)

To fix this error you

need to correct @@SERVERNAME
so that it matches your actual machine\instance

Download the sql script to fix
. Read more about

fixing your @@SERVERNAME


MSDN Article