If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Recordset on Client's behind Firewall

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-20-02, 12:05
sqlserver2k sqlserver2k is offline
Registered User
 
Join Date: May 2002
Location: Timbaktu
Posts: 185
Recordset on Client's behind Firewall

Can I open a Recordset on Clients behind firewall?

Right now the application works fine on the clients machine but if we leave it idle for 10 minutes and come back,then the recordset.open command is hanging forever.We are using ADUSECLIENT for the recordset.Any help is greatly appriciated.
Reply With Quote
  #2 (permalink)  
Old 11-20-02, 13:55
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Are you just asking how do you maintain the connection ? You already have it working behind the firewall, correct ?
Reply With Quote
  #3 (permalink)  
Old 11-20-02, 14:02
sqlserver2k sqlserver2k is offline
Registered User
 
Join Date: May 2002
Location: Timbaktu
Posts: 185
The connection stays open

but it's unable to create a ClientSide cursor and that's the place where it fails.We think that the firewall is closing the port after certain period of time
Reply With Quote
  #4 (permalink)  
Old 11-20-02, 14:48
Bruce A. Baasch Bruce A. Baasch is offline
Registered User
 
Join Date: Nov 2002
Location: Ohio
Posts: 90
Even though it will slow you down...open the recordset, read the top N rows, close the recordset, wait for the client to request the next N rows.

It prevents record locking and forced logoff problems.
__________________
Bruce Baasch
Reply With Quote
  #5 (permalink)  
Old 11-20-02, 15:08
sqlserver2k sqlserver2k is offline
Registered User
 
Join Date: May 2002
Location: Timbaktu
Posts: 185
Well after 10 minutes of idling time behind the firewall the Client is not able to run a single query on the Sql Server
Reply With Quote
  #6 (permalink)  
Old 11-20-02, 15:58
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Take a look at the following article:

article
Reply With Quote
  #7 (permalink)  
Old 11-20-02, 20:13
sqlserver2k sqlserver2k is offline
Registered User
 
Join Date: May 2002
Location: Timbaktu
Posts: 185
Looks like the firewall is blocking all the ports on the Clients machine.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On