Solved

SQL 2008 server does not exist or access denied

Posted on 2010-08-27
6
923 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Simple SQL query from two tables 13 54
Microsoft Access Write errors seem to be caused by bit fields 4 36
Sql Query 6 67
abs operation in sql server 15 15
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 describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

803 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