Avatar of dzirkelb
dzirkelb
Flag for United States of America asked on

Error when connecting to sql server 2008 r2 via ODBC or Visual Studio

I am trying to connect to a fresh install sql server 2008 via ODBC from windows 7 and visual studio, both reject the connection.

The error I get is:

provider: named pipes provider, error: 40 - could not open a conection to sql server

There is more to it, but that is the general error.

I also am not able to connect to the server via ODBC.  The server is recognized as I can select it from my drop down, I just can't connect to it.  The error states the server does not exist or access is denied.

I have enabled TCP connection and remote connections on the sql server.  I have opened up port 1433 for outbound and inbound connections on the server, and on my windows 7 machine.  I am connecting using Windows Authentication and I am a domain admin.

Any ideas on what to do next?
.NET ProgrammingMicrosoft SQL Server 2008

Avatar of undefined
Last Comment
dzirkelb

8/22/2022 - Mon
Aneesh

is the SQL Browser service running ?
dzirkelb

ASKER
All sql related services are running minus SQL Active Directory Helper Service on Local Computer.
ASKER CERTIFIED SOLUTION
13598

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
dzirkelb

ASKER
Thanks for the info...currently, my installation is all jacked up, so I'm rebuilding it on the vm server...once that is up and running, I'll go through your troubleshooting steps.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck