?
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
?
565 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
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

864 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