We have a hosted server that is named, by the hosting company, as something like WinEnt99. We would like to rename it to something more meaning like OurMonitor1.
We have already installed a few instances of SQL Server 2008 R2.
Is there anything that we need to (re)configure in SQL Server / SSMS ?
I have an application that was reading the database settings from the registry, and connecting the database fine. Now, it won't connect to the database. The only thing that I can think of is that we renamed the server last week sometime.
EDIT 02 Oct 2012:- The Server is being renamed. The named instances are not.
I've run
sp_helpserver
select @@servername
Which showed the old server name, and
sp_dropserver 'Old Server Name\Instance_name'
go
sp_addserver 'New Server Name\Instance Name','local'
go
Then confirmed the details in
sp_helpserver
select @@servername
OldServerName\OldInstanceName. Is it nowNewServerName\OldInstanceNameorNewServerName\NewInstanceName? It isn't clear to me what was changed. – Thomas Stringer Oct 1 '12 at 16:16SELECT name FROM sys.servers WHERE server_id=0;show the current name of the server? Is this the name reflected in the registry settings your app is using to build the connect string? More detail can never hurt your situation! – Max Vernon Oct 2 '12 at 15:50