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 September 19th, 2007, 07:54 AM
Registered User
 
Join Date: Sep 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default SQL server does not exist or access denied

Have bee running development website successfuly. However have been seeing the above mesage for the last day and a hal when trying to run the website. Development environment is Visual Studio.net 2003 and SQL server 2000.

SQL server installed locally, so not trying to hit the network. This problem was intermittent, but now appears to be permanent. Connection string/logon details have not changed and are still valid.
 
Old September 19th, 2007, 06:18 PM
Authorized User
 
Join Date: Sep 2007
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post
Default

Where are you getting this error message? On a web page...or SQL enterprise manager?

http://mynameissteve.com
 
Old September 20th, 2007, 07:54 AM
Registered User
 
Join Date: Sep 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, it is occuring on a web page. It seems to be occurring as soon as the page tries to open the connection in web.config

Web.config points to the correct database and local machine name.

Have noted a couple of other things: 1) The website and sql server instance are installed/running on the same pc. However, can connect to this SQL server instance and database from another pc using the same development environment without any problems.

2) If I change the web.config on the affected machine so that the connection string points to another sql server instance on another pc, this works without any problems.
This suggests that the problem is with local installation of SQL server on machine affected.
 
Old September 20th, 2007, 08:40 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Make sure you can coonnect via manager using the username/password in the config file. Use the surface area tool and make sure remote connections are allowed.

--

Joe (Microsoft MVP - XML)
 
Old September 25th, 2007, 11:07 AM
Registered User
 
Join Date: Sep 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

"Make sure you can coonnect via manager using the username/password in the config file. Use the surface area tool and make sure remote connections are allowed."


Not sure what you mean here. The user and password is sa, password. Also, am not sure what you mean by the "surface area tool"
 
Old October 8th, 2007, 11:14 AM
Registered User
 
Join Date: Sep 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have solved this one. My user account permissions on local machine were set to OLAP administrator. Don't know who did it, but setting permissions back to administrator sorted the problem.


Thanks





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.