Solved

Rookie User: Unable to troubleshoot SQL server connection: :[DBNETLIB][ConnectionOpen{connect().]SQL Server does not exist or access denied

Posted on 2009-04-04
9
411 Views
Last Modified: 2012-05-06
Hello,

I've been fighting this for a couple of days:

I'm currently using a tutorial for a product named Magic Edeveloper (Also known as Unipaas 1.5)

At about 1/3 through the tutorial, I was instructed to connect to SQL server which I haven't been able to do. (Screenshot S4)

I have tried both SQL server and Windows authentication to no avail.

I am, however, able to connect via Studio express. (Screenshot S2)

Couple of questions:

1) When I went to Microsoft to search the knowledge base, I was informed that one of the conditions that could cause this is if MSSQL is not actually running. What is the definition of "running"?

2) For simplicity's sake, I set the password to : " 123 " for both SQL and Windows respectively. (I aslo set the login name to " SA" for Windows ) What I don't understand is that when I enable the "show password" feature on Studio Express, I see a much longer password. (Screenshot S1)

As a rookie, I'm overwhelmed by all the different things to investigate in trying to get this fixed so any help would be greatly appreciated.


S2.jpg
S1.jpg
s3.jpg
s4.jpg
0
Comment
Question by:ynotrobits
  • 5
  • 4
9 Comments
 
LVL 3

Expert Comment

by:techmaza
ID: 24067676
Do u have ur database remotely or locally.
I assume ur database is locally then such problem exist when u choose incorrect login credentials to login into database. IF u select incorrect server name then it will naturally give u this error, try using other server name and try admin authentication instead of sql server authenticatiion for both.

try these article

http://support.microsoft.com/kb/328306

and

http://geekswithblogs.net/azamsharp/archive/2005/07/27/48416.aspx 

Hope ur problem wud be solved

0
 

Author Comment

by:ynotrobits
ID: 24067752
In trying to figure this out, I did go to: http://support.microsoft.com/kb/328306

I've also tried admin authentication but I had no luck

One of the conditions that they said might cause this problem was if MSSQL 2005 wasn't running. What is the definition of " running " ?

How do I change the server name? When I use the browse function, only one server name comes up.




S5.jpg
S6.jpg
0
 
LVL 3

Expert Comment

by:techmaza
ID: 24067795


see when i connect to sql server 2005 i get following msgbox


untitled.JPG
0
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.

 
LVL 3

Expert Comment

by:techmaza
ID: 24067810
 After this dialog box i m able to connect to the sql server easily, check whether any firewall is blocking port no 1443 if not and if possible install sql server again in different pc try it again with default values u will surely able to figure out ur problem.

At start when i was also new to sql server 2005  i was not able to connect with sql server the only i got was to reinstall it with default values and reconfigure it according to use.

Thanku
Hope this wud solve ur problem

Techmaza  
0
 
LVL 3

Expert Comment

by:techmaza
ID: 24067832
check the username credential i think u may have problem with username, in ur case it is \USER-.....\user
and in my case i m administrator with no password hence my password field is blank and ur also blank...

Try some trial error and google for such type of problem
0
 

Author Comment

by:ynotrobits
ID: 24067894
I have re-installed three times hoping to figure this out. I'll research the points you gave me and see what I can come up with and I'll report back

Thanks
0
 
LVL 3

Accepted Solution

by:
techmaza earned 500 total points
ID: 24068036
ok i will also find out better solution for the problem and report back
0
 

Author Comment

by:ynotrobits
ID: 24081639
Thank you for your efforts.

This has become my white whale. I've reinstalled everything with blank passwords on my Vista laptop and I still got the same results.

I have some additional resources that I will try and use and I will report my findings

AJS
0
 

Author Closing Comment

by:ynotrobits
ID: 31566580
Finally got it figured out: It basically had to do with an internal database  naming issue and a conflict between 2000 and 2005.

Thank for your help on this.
0

Featured Post

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need help with T-SQL on SQL Server 2014 9 37
MS SQL Server select from Sub Table 14 25
Where is the Help Section? 8 28
query linked sql table field from access 4 22
Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
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…
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 setup several different housekeeping processes for a SQL Server.

828 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