Solved

Connecting SQL Server Management Studio to SharePoint Database

Posted on 2010-11-19
14
899 Views
Last Modified: 2012-05-10
I'm trying to connect Management Studio to the SharePoint database.

I have gone to the server and given the MSSQL$MICROSOFT##SSEE database an alias of SharePoint using TCP/IP protocol and port 1433 through SQL Server Configuration Manager and through SQL Server Surface Area Configuration I have configured it to use TCP/IP remote connections only.

When I browse for network servers through Management Studio however, the database only shows up as "Server\MICROSOFT##SSEE" (i.e. not the alias name) and when I try to connect to it I get an error that reads:

"A network-related or instance-specific error occurred while establishing a connection to SQL Server.  The server was not found or was not accessible.  Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 28 - Server doesn't support requested protocol) (Microsoft SQL Server)
0
Comment
Question by:itsupport1199
  • 6
  • 6
  • 2
14 Comments
 
LVL 38

Expert Comment

by:Justin Smith
ID: 34173833
You are aware this isn't technically a SQL instance, correct?  It's the Windows Internal Database.

http://www.mssqltips.com/tip.asp?tip=1577
0
 
LVL 42

Expert Comment

by:zephyr_hex (Megan)
ID: 34173840
0
 

Author Comment

by:itsupport1199
ID: 34173872
Yes.  I am.  It was my understanding, though, that I could connect to it through Management Studio.

This seems to imply that I need to register the service under a different name.  How would I go about doing that?  
0
 

Author Comment

by:itsupport1199
ID: 34173889
Can reregistering the service cause any issues with SharePoint?
0
 

Author Comment

by:itsupport1199
ID: 34173947
Hi Zephyr,

I've done all that.  Still no luck.  
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 34173951
you need to connect using the string from the link i posted.....
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 34173955
\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query

No it won't affect SP if you register this name.
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 42

Assisted Solution

by:zephyr_hex (Megan)
zephyr_hex (Megan) earned 100 total points
ID: 34173979
you dont need to register the service under a different name.  it should be just a matter of following the steps in the link i posted.

you may also want to try the connection string listed here:
http://tedonsharepoint.blogspot.com/2009/07/named-pipes-connection-string-for-sql.html
0
 

Author Comment

by:itsupport1199
ID: 34173980
I'm not clear on how I register that name.  
0
 

Author Comment

by:itsupport1199
ID: 34174044
I've gone through the steps Zephyr posted and I've tried connecting using the string provided by ACH1LLES.  Still no luck.

Does it make a difference that I'm trying to connect remotely and not on the actual SQL Server?
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 34174284
I've only done it locally....so see if it works locally first.  You'll need to be a local admin.
0
 
LVL 38

Accepted Solution

by:
Justin Smith earned 400 total points
ID: 34174302
also, since this uses named pipes, you need to enable remote conections on the named pipes protocol through SQL config
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 35165963
so you tried connecting locally, on the server, using an admin, and it won't connect??
0
 

Author Closing Comment

by:itsupport1199
ID: 35182841
I was unable to resolve the issue, but the need has passed.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

929 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

11 Experts available now in Live!

Get 1:1 Help Now