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
407 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

809 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