Solved

SQL 2008 server does not exist or access denied

Posted on 2010-08-27
6
922 Views
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
0
Comment
Question by:iamuser
6 Comments
 
LVL 6

Expert Comment

by:Brainstormer
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.
0
 
LVL 142

Expert Comment

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

Author Comment

by:iamuser
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
0
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)

 
LVL 1

Expert Comment

by:nickrawlins
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.
0
 

Accepted Solution

by:
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
0
 

Author Comment

by:iamuser
ID: 33958718
resolve the problem I mean
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
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.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

947 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

22 Experts available now in Live!

Get 1:1 Help Now