?
Solved

Renamed instance of sql server using sp_addserver, but not working [sql2005]

Posted on 2009-05-12
6
Medium Priority
?
788 Views
Last Modified: 2012-05-06
Hi,

I have a server i did the following to.

1. dropped server instance name
2. added new instance name
3. rebooted server.
4. ran help server and got result shown below.

However when I open MStudio and try to connect to new server name "argus\attis" i get error message :
"
An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (.Net SqlClient Data Provider)"

I can connect via 'argus\argus' however.

What am I missing ?

Also, I did not get any error messages when i used dropserver and addserver to do the instance name change.


Mo
sp_helpserver select @@servername =
 
Name               Network name                status                                              ID     Collation
argus\attis	argus\attis                   	rpc,rpc out,use remote collation	0   	NULL

Open in new window

0
Comment
Question by:mooriginal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 6

Expert Comment

by:bull_rider
ID: 24362423
Can you check if you have enabled named pipes plus tcp ip in sql server surface area configuration?
0
 

Author Comment

by:mooriginal
ID: 24362507
yes this is an old server and had been working before

so yes

tcp, named pipes - are all on

listening on default 1433 port for tcp

tcp is order 1 in client protocols configuration

0
 
LVL 6

Accepted Solution

by:
bull_rider earned 375 total points
ID: 24362560
Go through this link. It will definitely solve your issue. May be the remote connections are nto enabled in sql server surface area configuration or may be the sql server browser service has not been started. Just take a lok at the link for the steps. And let me know if it helped.

http://support.microsoft.com/default.aspx?scid=kb;EN-US;914277
0
Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:mooriginal
ID: 24362628
Hmmm

I have gone to SAC - and checked the article youve linked to.
Server as already set to local and remote connections and using both tcp and named pipes

SQL Server browser was already running.

Firewall exceptions - I am using a RDP session to the server - log in via a domain admin account on this server - and try to connect that way - so no firewall issues as on the server itself.

All of the above done already and no changes needed to be made by me ..

so unfortunately it didnt fix the problem

Im thinking do i need to un-install sql server and re-install from scratch...?

0
 
LVL 6

Expert Comment

by:bull_rider
ID: 24362653
:( Oops I am afraid that is the only option left out which I can see.
0
 
LVL 31

Assisted Solution

by:RiteshShah
RiteshShah earned 375 total points
ID: 24362662
uninstall and reinstall is a good option but have a look at following articles which may help you in talking decision.

http://www.eggheadcafe.com/community/aspnet/13/10030422/can-we-change-default-ins.aspx

http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/Q_22920392.html
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question