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 June 28th, 2004, 10:20 AM
Registered User
 
Join Date: Jun 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Server doesn't exist or access denied

First my web site is located on a web server on a dmz. I am going threw the firewall to access the sql database. I have no problem when the server is on one network which is the internal address of the web server but I can't access a server on the other network.

Can anyone give me an idea where to start looking to fix this problem?



 
Old June 28th, 2004, 10:26 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

your ACL's in your firewall.

Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee
 
Old June 29th, 2004, 08:21 AM
Registered User
 
Join Date: Jun 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes! I do have 1433 open for traffic to pass through.


 
Old June 29th, 2004, 08:52 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Which lets SQL talk.. however, that doesn't mean you can login using NTLM (different ports are required).

Since the difference is between outside and inside- You need to look at communications between the two machines. Ping from one ot the other, can you? try to telnet to the port you are using for SQL server (Don't use the default port, for security reasons) from the web box.

The web box obviously can't communicate with the SQL server- and the problem is likely in the netowrk rules.




Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee
 
Old June 29th, 2004, 09:38 AM
Registered User
 
Join Date: Jun 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I can ping the machine. How do I telenet to the machine through a specific port?

 
Old June 29th, 2004, 10:23 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

at the command prompt

telnet machinename portnumber

Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee
 
Old June 29th, 2004, 01:44 PM
Registered User
 
Join Date: Jun 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your help! My boss finially listened to me and relized it is what I said 2 weeks ago. They need to give access to sql through the firewall.

 
Old June 29th, 2004, 02:56 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Your boss and you should not use port 1433 if you want to increase security. select an alternate port. Makes it harder to hack.

Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee





Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server does not exist or access denied sss22 SQL Server 2000 2 January 9th, 2006 10:47 PM
SQL Server does not exist or access denied jmjyiannis VB.NET 2002/2003 Basics 1 July 26th, 2005 09:06 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. zqi SQL Server 2000 1 January 1st, 2004 09:18 PM





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