Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server ASP
SQL Server ASP Discussions about ASP programming with Microsoft's SQL Server. For more ASP forums, see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server ASP 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 May 23rd, 2008, 02:35 AM
Registered User
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default [DBNETLIB][ConnectionOpen (Connect()).]SQL Server

We have an existing application in ASP on a server that hits a SQL Server2000 database on the same server. To test few changes we wanted to use the development database for testing. So, we decided to use a remote development database server (SQL Server 2000). When i try and connect to that database using my application, i get the following error message:

************************************************** *******************
Microsoft OLE DB Provider for SQL Server error '80004005'

[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

/LM/W3SVC/1/Root/<application_name>/global.asa, line 29
************************************************** *******************

To test the applications with real production data, i had copied the production database's ".mdf" to the development server and attached the data files to the sql server.

While seaching through some forums i found that when the new databse is attached, old users need to be deleted and new ones need to be created. I did so, but i still get this error.

Any kind of urgent help is appreciated, as this has to go to testing ASAP.

Sumit Bhatnagar
Old May 23rd, 2008, 03:50 AM
Friend of Wrox
Join Date: Oct 2007
Posts: 130
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via AIM to urtrivedi

1) Check authentication mode,in sql server properties' security tab.
2) If it is windows try to change it to sql and windows mode.
3) Try with user sa and set password for sa user


Help yourself by helping someone.

Similar Threads
Thread Thread Starter Forum Replies Last Post
[DBNETLIB][ConnectionOpen (connect()).]SQL Server roneda SQL Server 2000 2 April 14th, 2006 09:25 AM
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server JimCovington SQL Server 2000 0 January 17th, 2006 02:27 PM
[ConnectionOpen (Connect()).] audiodan98 SQL Server 2000 1 November 25th, 2004 10:41 PM
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server JamesH SQL Server 2000 9 May 11th, 2004 08:35 AM
[000] Unable to connect to server 'SERVER\SQL'; SQ ctanchan SQL Server 2000 1 August 15th, 2003 07:18 AM

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