Click here to Skip to main content
15,898,999 members
Home / Discussions / Database
   

Database

 
GeneralRe: Retrieving Dates from Access Database using ODBC Pin
Rob Graham5-Mar-04 9:59
Rob Graham5-Mar-04 9:59 
GeneralRe: Retrieving Dates from Access Database using ODBC Pin
pavneet5-Mar-04 10:03
pavneet5-Mar-04 10:03 
GeneralRe: Retrieving Dates from Access Database using ODBC Pin
Rob Graham7-Mar-04 17:34
Rob Graham7-Mar-04 17:34 
GeneralRe: Retrieving Dates from Access Database using ODBC Pin
pavneet8-Mar-04 8:54
pavneet8-Mar-04 8:54 
GeneralDateTime not updating time Pin
cje3-Mar-04 7:54
cje3-Mar-04 7:54 
GeneralConnecting to MySQL with ODBC Pin
sps-itsec463-Mar-04 2:56
sps-itsec463-Mar-04 2:56 
Generalconnection to SQL Server from extranet Pin
MyttO3-Mar-04 0:29
MyttO3-Mar-04 0:29 
GeneralRe: connection to SQL Server from extranet Pin
Mike Dimmick3-Mar-04 2:10
Mike Dimmick3-Mar-04 2:10 
udp/1434 is used by SQL Server clients to discover the correct TCP port to use for a given instance (remember that SQL Server supports up to 15 named instances and 1 default instance on the same hardware). Each instance uses its own port; the default instance defaults to port 1433. Named instances default to the TCP stack's chosen next port number (i.e. bind is called with a 0 port number, if you're familiar with sockets programming).

Name resolution, to find the server, is done using the normal Windows mechanisms. On Windows 2000 or XP, this uses DNS and any HOSTS file first, then WINS if configured and any LMHOSTS file, then falls back on NetBIOS broadcasts. Windows NT 4.0 requires that the 'Enable DNS for Windows Resolution' checkbox is checked to resolve names using DNS. Ensure that the client computer can ping the server by name (this won't work if the firewall blocks ICMP echo, of course).

You can configure the TCP port used either using the Server Network Utility (available on the server's start menu) or by clicking Network Configuration on the General tab of the instance's properties in Enterprise Manager. If using the Server Network Utility, select the appropriate Firstly, ensure that the TCP/IP protocol is in the Enabled Protocols list. Select TCP/IP in Enabled Protocols and click Properties. You can set the default port for this instance in this box.

Next, check your MDAC version on the client. It should be at least version 2.6 if connecting to SQL Server 2000, with the MDAC service pack at least the same as the server. For SQL Server 2000 SP3(a), use at least MDAC 2.7 SP1. Obtain MDAC from MSDN's Data Access Developer Centre Downloads[^]. You can check your current version with the MDAC Component Checker[^].

You should also check that the client is configured to use TCP/IP. Run cliconfg on the client computers, and check that TCP/IP is in the Enabled Protocols list. If you're not going to allow NetBIOS-over-TCP/IP (NBT), you might as well disable the Named Pipes protocol on the client.

If you're using a non-default instance, and you've decided to block udp/1434, you may need to use the Alias tab to add an alias for your instance. This allows you to specify the IP address and port for a given name. You could consider doing this if your name resolution isn't working.

For more information, see KB article 287932: INF: TCP Ports Needed for Communication to SQL Server Through a Firewall[^].

Stability. What an interesting concept. -- Chris Maunder
GeneralRe: connection to SQL Server from extranet Pin
Mike Dimmick3-Mar-04 2:27
Mike Dimmick3-Mar-04 2:27 
GeneralMany thanks Pin
MyttO4-Mar-04 23:12
MyttO4-Mar-04 23:12 
GeneralConnection from Crystal Report to DataSet Pin
Pablopablo2-Mar-04 16:12
Pablopablo2-Mar-04 16:12 
GeneralRe: Connection from Crystal Report to DataSet Pin
Anonymous9-Mar-04 5:16
Anonymous9-Mar-04 5:16 
GeneralRe: Connection from Crystal Report to DataSet Pin
Pablopablo9-Mar-04 10:00
Pablopablo9-Mar-04 10:00 
GeneralRe: Connection from Crystal Report to DataSet Pin
DustInTheWind10-Mar-04 5:54
DustInTheWind10-Mar-04 5:54 
GeneralRe: Connection from Crystal Report to DataSet Pin
DustInTheWind10-Mar-04 7:29
DustInTheWind10-Mar-04 7:29 
GeneralColumns failing to save data on insert Pin
Mike Osbahr2-Mar-04 12:25
Mike Osbahr2-Mar-04 12:25 
GeneralExport a DataSet to a NEW Excel File Pin
Jeff Monheiser2-Mar-04 3:42
Jeff Monheiser2-Mar-04 3:42 
GeneralRe: Export a DataSet to a NEW Excel File Pin
John Kuhn2-Mar-04 12:43
John Kuhn2-Mar-04 12:43 
GeneralDataSet object : not disposed Pin
mxcad2-Mar-04 3:36
sussmxcad2-Mar-04 3:36 
GeneralRe: DataSet object : not disposed Pin
Mike Dimmick2-Mar-04 6:30
Mike Dimmick2-Mar-04 6:30 
GeneralDataSet object : not disposed Pin
The Bug2-Mar-04 3:36
The Bug2-Mar-04 3:36 
Generalthose xmlbuilder generated objects.. Pin
Anonymous1-Mar-04 23:32
Anonymous1-Mar-04 23:32 
GeneralRe: those xmlbuilder generated objects.. Pin
Mike Dimmick3-Mar-04 2:17
Mike Dimmick3-Mar-04 2:17 
Generaluse modem dialup to retrieve data from SQL 2000 Server... Pin
DengJW1-Mar-04 17:23
DengJW1-Mar-04 17:23 
QuestionProblem while accessing SQL server 2k remotely? Pin
DengJW1-Mar-04 15:49
DengJW1-Mar-04 15:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.