Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 31st, 2003, 10:54 PM
zqi zqi is offline
Registered User
 
Join Date: Dec 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default SQL Server does not exist or access denied.

Happy New Year!

Got a problem with the connection to my "SQL servers" in the "Server Explorer" of Visual Studio .Net Enterprise Architect 2003. However, it was OK yesterday though. Please HELP!!! Thank you very much.

Description of my problem:

I got an error message: "[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied." But I am very sure that my SQL server is right there and my code can absolutely access the Northwind batabase on that server. Also I can get Northwind database connected/shown on the "Data Connections" tree of VS .Net "Server Explorer". BUT I just couldn't get the server shown/connected on the "Servers" tree (the "+" sign to the left of my SQL server won't expand, and gives me the error message shown above). I saw it right there YESTERDAY and could expand the "+" sign.

The instance is installed on local the computer. I'm not sure what I touched before it screwed up.

Probably some settings with "SQL Server Client Network Utility"? The "Enabled protocols by order:" are TCP/IP, Named Pipes. "Server alias" is the same as the server name, which is AMITUOFO.

My system setup is as below:

* Windows 2000 Professional SP4
* SQL Server 2000 Desktop Engine (MSDE 2000) Release A
* SQL Server 2000 Client Components SP3a
* Visual Studio .Net Enterprise Architect 2003

Note: I couldn't install instances of SQL Server 2000 since I'm running W2k Pro, so I installed a default instance of MSDE 2000 Rel A on local instead but I installed some SQL Server 2000 Client tools.

 
Old January 1st, 2004, 09:18 PM
zqi zqi is offline
Registered User
 
Join Date: Dec 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Simply Deleted the "Server alias" that had the same name with the Server - AMITUOFO (local sever) in the SQL erver Client network Utility tool. Shouldn't have played with the client tool.






Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server does not exist or access denied happygv SQL Server 2000 0 April 9th, 2008 02:27 AM
SQL Server does not exist or access denied jennypretty Classic ASP Databases 3 May 18th, 2007 11:43 AM
SQL Server does not exist or access denied. jimbeam36 BOOK: ASP.NET Website Programming Problem-Design-Solution 3 November 3rd, 2004 08:51 AM
SQL Server does not exist or access denied haidee_mccaffrey Classic ASP Databases 19 June 28th, 2004 09:38 PM
SQL Server does not exist or access denied. nitinmailbox All Other Wrox Books 1 June 25th, 2003 06:35 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.