Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server ASP
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 23rd, 2008, 03:35 AM
Registered User
 
Join Date: May 2008
Location: New Delhi, Delhi, India.
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.

Regards,
Sumit Bhatnagar
__________________
Regards,
Sumit Bhatnagar
Reply With Quote
  #2 (permalink)  
Old May 23rd, 2008, 04:50 AM
Friend of Wrox
 
Join Date: Oct 2007
Location: , , .
Posts: 130
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via AIM to urtrivedi
Default

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


urt

Help yourself by helping someone.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[DBNETLIB][ConnectionOpen (connect()).]SQL Server roneda SQL Server 2000 2 April 14th, 2006 10: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 09:35 AM
[000] Unable to connect to server 'SERVER\SQL'; SQ ctanchan SQL Server 2000 1 August 15th, 2003 08:18 AM



All times are GMT -4. The time now is 01:42 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.