SQL 2008 server does not exist or access denied

Posted on 2010-08-27
Medium Priority
Last Modified: 2012-05-10
My server is newly built, Win 2008 R2, SQL 2008  with sp2. I even have 2 different DB's in the system running right now with no problems.

I can connect to the DB using SSMS without any problem using win & SA authentication

But when I try install a new application (which puts in a new DB) on the server that SQL server 2008 is running, I get the following error

[Microsoft][ODBC SQL Server Driver][DBMSLPCN ]SQL Server does not exist or access denied

I'm not sure what is going on
Question by:iamuser

Expert Comment

ID: 33546686
you need to setup a DB user first, create a DB second, assign that user DB_Owner rights for the DB. Then attempt to use the application.

An alternative it so have an account that has DB owner rights to the entire SQL instance.
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 33546706

Author Comment

ID: 33546720
The application installs the db for me. It prompts me for a user name to use to install the db. I tried using the SA account and my win authentication
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.


Expert Comment

ID: 33547483
Do you need to enter an instance name if your databases are not on the default instance?

Have you tried using the SQL IP and Port by getting these details from the SQL Configuration Manager?

You could try enabling named pipes as the application may not be using TCPIP.

I would also suggest looking at your windows event logs to see if there are any failed logins... you could also try telnet'ing to the SQL port (1433 by default for the default instance) and also make sure the SQL Server is allowing remote connections.

Accepted Solution

iamuser earned 0 total points
ID: 33958712
i resolved the program seems like one of the scripts that i ran for the DB hosed the db. Thanks for all the help

Author Comment

ID: 33958718
resolve the problem I mean

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
MSSQL DB-maintenance also needs implementation of multiple activities. However, unprecedented errors can hamper the database management. In that case, deploying Stellar SQL Database Toolkit ensures fast and accurate database and backup repair as wel…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

607 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