Solved

SQL 2008 server does not exist or access denied

Posted on 2010-08-27
6
921 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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 …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

760 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

20 Experts available now in Live!

Get 1:1 Help Now