Solved

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

Posted on 2009-04-14
1
536 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

746 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

13 Experts available now in Live!

Get 1:1 Help Now