Solved

SQL Server 2008

Posted on 2011-03-18
3
226 Views
Last Modified: 2012-05-11
Hi, I have a sql server 2008 up and running, I installed name instance afterward and move a database to the new name instance but it seems that I cannot connect to the database on the new name instance. If I move the same database to the default instance I am able to connect to it.
Is there anything special that I should consider when I create a name instance on the same server after the first installation.
0
Comment
Question by:vera2006
3 Comments
 
LVL 3

Assisted Solution

by:exceter
exceter earned 250 total points
ID: 35163945
From where you are not able to connect to instanced DB?
if from Application, then you should change the connection string - dbname=localhost TO dbname=localhost/instanceName
0
 
LVL 9

Expert Comment

by:mayank_joshi
ID: 35164129
is the sql server you want to connect running on local machine or remote machine?
0
 
LVL 28

Accepted Solution

by:
Ryan McCauley earned 250 total points
ID: 35174150
If you can't connect to the named instance at all, check to make sure the "SQL Browser" service is running - it's what allows clients to resolve an instance name (like MYSERVER\INSTANCE1) to a physical port (MYSERVER:7823, for example). If the browser isn't running (or isn't functioning properly), it can prevent you from connecting to your named instance, but still let you connect to your default instance without any issues.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
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…

831 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