Solved

Cannot find SQL instance on Localhost

Posted on 2008-10-09
4
1,070 Views
Last Modified: 2010-05-18
I cannot browse to the localhost report server on my laptop. I think this is may be because my computers name was changed recently to solve a logon issue.

When I try the reports URL, http://localhost/Reports, I get the following error:

The report server is not responding. Verify that the report server is running and can be accessed from this computer.

When I open SQL Server Management Studio I can see the ReportServer database but only if I connect to a server with the new name of my laptop. When I try to connect to the server with the old name of my computer (its still in the list) I get the following error message:

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)

Do I need to make the new server the default? How would I do this?

Thanks.
0
Comment
Question by:Blim2
[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
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
bcsql earned 30 total points
ID: 22679624
sp_dropserver 'oldservername'
sp_addserver 'newservername' , 'local'

0
 

Author Comment

by:Blim2
ID: 22680081
Hi,
Both command completed successfully but I still get a 'report server' is not responding error message, even after a reboot.

Thanks
0
 
LVL 24

Assisted Solution

by:DBAduck - Ben Miller
DBAduck - Ben Miller earned 20 total points
ID: 22684143
You may need to go into the Report Server Configuration and reset the pointer to the report server for the new name.  You should see it in the Configuration Tools in SQL Server container.
0
 

Author Comment

by:Blim2
ID: 22685906
I think I have now solved the main problem by changing the name of the PC back to its original name (apparently I couldn't do that when I first had my logon problem - I'm not sure why).

However, I cannot run SQL Server Configuration manager. It says 'Cannot connect to WMI provider. You do not have permission or the server is unreachable...'

Should I run the  sp_dropserver 'oldservername' and sp_addserver 'newservername' , 'local' commands again?
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

726 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