Solved

SQL Server specify correct named instance

Posted on 2011-03-20
3
341 Views
Last Modified: 2012-05-11
In SQL Server 2008 how do I  make sure that I am specifying correct instance name and that instance name actually exists on target server and is running.

0
Comment
Question by:murbro
3 Comments
 
LVL 17

Accepted Solution

by:
dbaSQL earned 250 total points
ID: 35177951
In SSMS, you can double click your server to open the Object Explorer, then right click and select Propties, General Tab.  Here you will see the sql server instance name.

You can also do this with a query by executing the following:

SELECT @@SEVERNAME
0
 
LVL 9

Assisted Solution

by:kaminda
kaminda earned 250 total points
ID: 35178099
If this from your Application's perspective, you will get an error describing the situation of your server instance name, you can catch that. Also there are plenty of scripts on the web to get all the SQL instances available in your network,

This link will help you to do tihs
http://social.msdn.microsoft.com/forums/en-US/adodotnetdataproviders/thread/fda283ef-5a8b-424d-b549-074ccc19c8d7
0
 

Author Closing Comment

by:murbro
ID: 35178929
thanks for the help
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

I have written a PowerShell script to "walk" the security structure of each SQL instance to find:         Each Login (Windows or SQL)             * Its Server Roles             * Every database to which the login is mapped             * The associated "Database User" for this …
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
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…

773 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