[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

SQL Server 2005 - Install Problems 'Reporting Services must be able to connect to a SQL Server Instance'

Posted on 2009-04-14
1
Medium Priority
?
561 Views
Last Modified: 2012-06-21
I uninstalled SQL Server 2005 x64, rebooted and am trying to reinstall SQL Server 2005.  The install hangs at the point where it is trying to configure the compents I selected.  The error message it gives is "Cannot connect to the SQL server instance"  "Reporting services must be able to connect to a SQL server instance".  I verified the I AM ABLE TO connect to the SQL server instance using SQL server management studio installed on a different machine.  

I also noticed that I can't start the SQL server Agent.  It is failing with:

2009-04-14 12:33:47 - ! [298] SQLServer Error: 2, Named Pipes Provider: Could not open a connection to SQL Server [2]. [SQLSTATE 08001]


2009-04-14 12:33:47 - ! [165] ODBC Error: 0, Login timeout expired [SQLSTATE HYT00]

2009-04-14 12:33:47 - ! [298] SQLServer Error: 2, 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. [SQLSTATE 08001]

2009-04-14 12:33:47 - ! [000] Unable to connect to server 'UCI01\EOD_SQL'; SQLServerAgent cannot start

However, I can connect to 'UCI01\EOD_SQL' fine with SQL server management studio.  What is the problem?

0
Comment
Question by:TedgCl
[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
1 Comment
 

Accepted Solution

by:
TedgCl earned 0 total points
ID: 24144477
Located the problem.  For whatever reason, (none of my other servers needed this), you need to modify this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\SQLServerAgent\ServerHost

Set the ServerHost to either:
1) YourServerName

or

2) SERVERNAME\INSTANCE

This should allow you to get SQLServerAgent running.

Next, I created ab alias that I have no idea if this helped fix the problem or not.
1) INSTANCE pointing to YourServerName\INSTANCE

Then, I restarted the SQL server and tried hitting refresh on the reporting services installer.  

This worked for me.
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
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.

649 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