![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
If I write ASP scripts to run from the first Win 2003 Web server, trying to connect to the second box actually running the SQL Server it gives an error: Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC SQL Server Driver][Named Pipes]SQL Server does not exist or access denied. |
#3
| |||
| |||
|
|
xx75vulcan (xx75vul... (AT) gmail (DOT) com) writes: If I write ASP scripts to run from the first Win 2003 Web server, trying to connect to the second box actually running the SQL Server it gives an error: Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC SQL Server Driver][Named Pipes]SQL Server does not exist or access denied. Maybe this article can give some clues?http://support.microsoft.com/default...;EN-US;q328306. -- Erland Sommarskog, SQL Server MVP, esq... (AT) sommarskog (DOT) se Books Online for SQL Server 2005 athttp://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books... Books Online for SQL Server 2000 athttp://www.microsoft.com/sql/prodinfo/previousversions/books.mspx |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
ok I just noticed an event on the server (hosting SQL) event log when attempting to connect from a seperate box. Error: An anonymous session connected from FREUDIANA has attempted to open an LSA policy handle on this machine. The attempt was rejected with STATUS_ACCESS_DENIED to prevent leaking security sensitive information to the anonymous caller. Upon further investigation, lead me to this MS KB:http://support.microsoft.com/kb/839569 Stating "Instead of allowing the anonymous connections to your instance of SQL Server, you can grant the required access to a specific SQL Server account and pass the logon credentials for the SQL Server account in the connection string in the ASP.NET page. Using SQL Server authentication avoids the anonymous connection attempts to the instance of SQL Server and is more secure." I'm passing the SQL login credentials in my connecton string, and the ODBC manager specifies a SQL account -- why does it tell me it's attempting an annonymous connection?!?!?! |
#6
| |||
| |||
|
|
On Jun 19, 8:40 am, xx75vulcan <xx75vul... (AT) gmail (DOT) com> wrote: ok I just noticed an event on the server (hosting SQL) event log when attempting to connect from a seperate box. Error: An anonymous session connected from FREUDIANA has attempted to open an LSA policy handle on this machine. The attempt was rejected with STATUS_ACCESS_DENIED to prevent leaking security sensitive information to the anonymous caller. Upon further investigation, lead me to this MS KB:http://support.microsoft.com/kb/839569 Stating "Instead of allowing the anonymous connections to your instance of SQL Server, you can grant the required access to a specific SQL Server account and pass the logon credentials for the SQL Server account in the connection string in the ASP.NET page. Using SQL Server authentication avoids the anonymous connection attempts to the instance of SQL Server and is more secure." I'm passing the SQL login credentials in my connecton string, and the ODBC manager specifies a SQL account -- why does it tell me it's attempting an annonymous connection?!?!?! Also noticed the SQL server box is running ODBC SQL Driver 2000.85.1022.00 and the web box (that no asp page can connect through) is running ODBC SQL Driver 2000.86.1830.00. do they need to be the same driver version on both boxes? |
#7
| |||
| |||
|
|
I've read that particular article somewhere before, and I believe I have the settings/common problems correct. I'm wondering, do I need to setup a "Linked Server" between the SQL box and the web box not running SQL? |
![]() |
| Thread Tools | |
| Display Modes | |
| |