Solved

SQL Server 2008

Posted on 2011-03-18
3
228 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
get column names from table in vb.net 8 69
sql how to count case when 4 29
Re-appearing SQL Server Agent jobs 7 42
point in time restore in SQL server 26 41
Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

685 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