Solved

SQL 2012 Error

Posted on 2013-06-08
4
315 Views
Last Modified: 2013-07-01
Hi All,

we have a problem with a clients server, basically they are running 2012 essentials with SQL 2012 - we have the database running and working on the server ok but the SQL string doesn't appear to let me client machines connection to it.

The errors is:-

Connection to SQL Server failed - [DBNETLIB][ConnectionOpen (Connect().[SQL Server does not exist or access denied.

SQL String Used:-

Provider=SQLOLEDB;Server=SERVERNAME\SQLEXPRESS;Database=customer;Trusted_Connection=yes;

We have tried turning off the firewall with no luck.

any ideas?

thanks again
0
Comment
Question by:ryank85
  • 2
4 Comments
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39231844
Have you gone through below link, its apply for SQL 2008 but it same for SQL 2012 too

http://skamie.wordpress.com/2012/01/16/sql-server-connectivity-error-sql-server-does-not-exist-or-access-denied/
0
 
LVL 31

Accepted Solution

by:
James Murrell earned 500 total points
ID: 39235621
1st place for connections strings is http://www.connectionstrings.com/sql-server-2012

on there trusted connection is
Server=myServerAddress;Database=myDataBase;Trusted_Connection=True;

Open in new window

0
 

Author Comment

by:ryank85
ID: 39235869
Hi all. We managed to fix this. The SQL Browser service was disabled, we started this and everything started to work. Thanks for your help.

Ryan
0
 
LVL 31

Expert Comment

by:James Murrell
ID: 39235897
great news please close question
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

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…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

912 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

18 Experts available now in Live!

Get 1:1 Help Now