Solved

Cannot find SQL instance on Localhost

Posted on 2008-10-09
4
1,050 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
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
bcsql earned 30 total points
Comment Utility
sp_dropserver 'oldservername'
sp_addserver 'newservername' , 'local'

0
 

Author Comment

by:Blim2
Comment Utility
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
Comment Utility
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
Comment Utility
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

I am showing a way to read/import the excel data in table using SQL server 2005... Suppose there is an Excel file "Book1" at location "C:\temp" with column "First Name" and "Last Name". Now to import this Excel data into the table, we will use…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now