SQL Error

Hello all
SQL 2014
We Changed the name of physical server from server A to Server B.

When trying to give user permissions get the following error.



TITLE: Microsoft SQL Server Management Studio
------------------------------

Attempt to retrieve data for object failed for Server 'Server A'.  (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=12.0.2000.8+((SQL14_RTM).140220-1752)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Attempt+to+retrieve+data+for+object+Server&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

Invalid Urn filter on server level: filter must be empty, or server attribute must be equal with the true server name. (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=12.0.2000.8+((SQL14_RTM).140220-1752)&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------



Please help.

James
jyoung127Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vitor MontalvãoMSSQL Senior EngineerCommented:
The SQL Server instance is a named instance of the default instance?
0
Vitor MontalvãoMSSQL Senior EngineerCommented:
Also, did you ran these commands in SQL Server instance after renaming the server?
exec sp_dropserver ‘old_name’ 
 go 
exec sp_addserver ‘new_name’ , ‘local’ 
go

Open in new window

1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jyoung127Author Commented:
Vitor
it is the default instance. When I run this script does SQL need to be restarted?
0
Vitor MontalvãoMSSQL Senior EngineerCommented:
Yes, it will need to be restarted.
0
jyoung127Author Commented:
Thank you for your help that seems to have fixed my issue
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.