[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

SQL 2008 server does not exist or access denied

Posted on 2010-08-27
6
Medium Priority
?
951 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 143

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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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.
Suggested Courses

864 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