Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 connection failure to sql server when file and pri

Author  Topic 

hameed
Starting Member

40 Posts

Posted - 2002-04-29 : 07:56:45
I have file and printer sharing turned on the sql server (MS SQL Server 2000 SP2) that I am using for all my asp sites (the websites are obviously on a different box) and if I turn it off (file and printer sharing), all the websites that connect to this server because of a some database can no longer connect

This is the error message I get if I turn off file and printer sharing:

ErrorData
Current Time:4/28/2002 5:28:20 PM
Error number:
Source:Microsoft OLE DB Provider for SQL Server
Page:/includes/connect.asp
SourceCode:No code available
Line:6
Column:-1
Short Description:[DBNMPNTW]ConnectionOpen (CreateFile()).
Long Description:
Remote Address:64.7.71.118
Remote Host:64.7.71.118
Local Address:64.7.70.something (i changed this deliberatly)
Query string:
Form string

This is obviously a huge security risk and I need to understand this better.
Can someone please help?

ALSO, what is port 445 open for on the server? Is is to allow me to connect via the SQL Enterprise Management Console?

efelito
Constraint Violating Yak Guru

478 Posts

Posted - 2002-04-29 : 10:41:11
Just a shot in the dark, but I bet is has to do with the fact that you are connecting with Named Pipes. [DBNMPNTW] I would try switching the connection type to TCP/IP. [DBMSSOCN]

Jeff Banschbach
Consultant, MCDBA
Go to Top of Page
   

- Advertisement -