Solved

Cannot connect to database

Posted on 2011-03-24
5
742 Views
Last Modified: 2012-05-11
Hi Experts,
I now have no hair left and I have exhausted every trick that worked for others...
My environment is 64bit system with exchange. SQL is installed on a hyper-V.
Everything works fine.
This means that Sharepoint is installed, I can ping database from core server and from remote server.
I can log onto the database using ODBC from core server and from remote pc.
I have created the users as recommended BUT when running Sharepoint Products Configuration wizard I get the error:
Cannot connect to database master at SQL Server. I use the same credentials that allows me to access the DB from other apps like VS 2010. I have googled and found many similar issues from others but just cannot get past this point.
Please help
regards
0
Comment
Question by:esps
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
KoenVosters earned 500 total points
Comment Utility
Did you configure the firewall on your SharePoint box to allow outbound traffic over port port 1433 on TCP and UDP? Or if you are using a non standard SQL port, are you allowing traffic over that one?
0
 

Assisted Solution

by:esps
esps earned 0 total points
Comment Utility
In addition to KoenVorsters comment, the following worked.
I create an admin user on the SharePoint host, I then added this users as an Admin user on the Database server. I then added this user on the SQL DB and important to note, Windows authentication, not SQL and lastley logged onto the SP host machine with the SP Admin user.
When I then ran the config wizard it worked.
0
 
LVL 14

Expert Comment

by:KoenVosters
Comment Utility
Objecting as my answer was a solution to the problem. There was no acces to the sql. That then afterwards you figured out that there were also problems on your sql configuration to get everything working isnt the question you asked initially and neither did u ask for further assistance here.
0
 

Expert Comment

by:nysupport
Comment Utility
I had the same issue.  To get around it I had to add the SharePoint Installer account (the one I'm running PSCONFIG under) as a local admin on the SQL server.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Back in July, I blogged about how Microsoft's new server pricing model, combined with the end of the Small Business Server package, would result in significant cost increases for many small businesses (see SBS End of Life: Microsoft Punishes Small B…
Experts-Exchange users below are the steps you can follow to upgrade your Lync server to latest CU's or cumulative updates. Note: Perform it during non-production hours.   Step 1: Backup your lync and SQL server database. Follow below article: h…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 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

10 Experts available now in Live!

Get 1:1 Help Now