Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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 27th, 2004, 01:57 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 171
Thanks: 0
Thanked 1 Time in 1 Post
Default

Me too...

 
Old May 28th, 2004, 03:41 AM
Authorized User
 
Join Date: Jul 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Me also!

I'm wondering whether it could be a tcpip related issue, that's the only common thing between the offending webpage and the web pages with database connections!?
It's very strange and quite impossible to track down.



 
Old May 28th, 2004, 03:43 AM
Authorized User
 
Join Date: Jul 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

By the way, thanks for your help anyways!

 
Old May 28th, 2004, 01:31 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

While showing this error SQL Server does not exist or access denied, do you see any line number and filename details shown along with it?

_________________________
-Vijay G
Strive for Perfection
 
Old May 29th, 2004, 02:54 AM
Friend of Wrox
 
Join Date: May 2003
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Please check you SQL Server Authentication Mode, it might be running in Windows integrated Authenticated mode and you were trying to access via using a user name and password. In this case you need to change that to mixed mode of authentication.

Charul Shukla
 
Old May 31st, 2004, 05:08 AM
Authorized User
 
Join Date: Jul 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

The SQL Server authentification is setup to both.

I set the web site on my local machine to replicate the error and this is what I get

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionWrite (send()).
/fabviewprod/fabviewhome.asp, line 36


line 35 & 36 are:
  GetSQLTimeStr = "select getdate()"
  Set DBDateRs = fabviewConn.Execute(GetSQLTimeStr)



 
Old June 1st, 2004, 05:05 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

What is the connection string that you are using? Can you post that too? Looks that needs to be changed.

You can refer to the standard connection strings here.
http://www.connectionstrings.com

Hope that helps
Cheers!

_________________________
-Vijay G
Strive for Perfection
 
Old June 1st, 2004, 08:48 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to acdsky
Default

Hi

This might be a long shot but is there any firewalls between your IIS and SQL? Maybe a "personal FW" on your development machine? If so check that ports 1433 & 1434 (Integrated Security) are open. Else I would have tried reinstalling or upgrading MDAC on the webserver. Have you tried the page on another IIS machine?

Regards
Marnus
 
Old June 28th, 2004, 10:36 AM
Registered User
 
Join Date: Jun 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had the same error message and my problem had to do with conflicting protocols. When I added "Network=DBMSSOCN;" to my connection string my page started working again.

I got my information through the microsoft website: http://support.microsoft.com/defaul...kb;EN-US;328383

Here is what helped me:

Specify the protocol in your connection string. For example: "DSN=DSNName;SERVER=servername;DATABASE=YourDataBa seName;Network=DBMSSOCN;Address=IP_Address,1433;UI D=YourUID;PWD=YourPassword;"

In this example, you specify the network protocol as "DBMSSOCN", which means that you want to use the TCP/IP protocol. If you specify the protocol inside your connection string, Dbnetlib only uses the specified protocol and does not try any other protocol. Similarly, to enable Named Pipe protocol only, use a connection string similar to this: "DSN=DSNName;SERVER=servername;DATABASE=YourDataBa seName;Network=DBNMPNTW;Address=\\.\pipe\sql\query ;UID=YourUID;PWD=YourPassword;"

 
Old June 28th, 2004, 09:38 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi jmrosseau,

Yes that looks fine, but so far the original poster(haidee_mccaffrey) has not shown us what he uses as the connection string for fabviewConn. So being unclear on that, it is hard to suggest.

Quote:
quote:GetSQLTimeStr = "select getdate()"
  Set DBDateRs = fabviewConn.Execute(GetSQLTimeStr)


Maybe, had he posted the code that are related to fabviewConn, it would have been easy for one to conclude on error, than posting our suggestion on assuming.

_________________________
- Vijay G
Strive for Perfection





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 rj1406 ASP.NET 1.0 and 1.1 Basics 1 September 16th, 2004 08:58 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.